Newman Run Dashboard

Sunday, 04 September 2022 10:53:20
Total Iterations

4

Total Assertions

3792

Total Failed Tests

11

Total Skipped Tests

0


File Information
Collection: Serverest
Environment: Local
Timings and Data
Total run duration: 18.2s
Total data received: 81.1KB
Average response time: 4ms
Summary Item Total Failed
Requests 392 0
Prerequest Scripts 188 0
Test Scripts 216 0
Assertions 3792 11
Skipped Tests 0 -



Showing 11 Failures

Failed Test: Status code is 201

Assertion Error Message
expected response to have status code 201 but got 405
Failed Test: Resposta status code Created

Assertion Error Message
expected response to have status reason 'Created' but got 'Method Not Allowed'
Failed Test: PUT com sucesso

Assertion Error Message
expected 405 to be one of [ 201 ]
Failed Test: Resposta contém atributo "_id"

Assertion Error Message
expected undefined to exist
Failed Test: Mensagem correta retornada

Assertion Error Message
expected 'Não é possível realizar PUT em /usuarios/. Acesse http://localhost:3000 para ver as rotas disponíveis e como utilizá-las.' to contain 'Cadastro realizado com sucesso'
Failed Test: Mensagem "Cadastro realizado com sucesso" é exibida

Assertion Error Message
expected '{"message":"Não é possível realizar PUT em /usuarios/. Acesse http://localhost:3000 para ver as rotas disponíveis e como utilizá-las."}' to include 'Cadastro realizado com sucesso'
Failed Test: Status code is 201

Assertion Error Message
expected response to have status code 201 but got 405
Failed Test: Resposta status code Created

Assertion Error Message
expected response to have status reason 'Created' but got 'Method Not Allowed'
Failed Test: Resposta contém atributo "_id"

Assertion Error Message
expected undefined to exist
Failed Test: Mensagem correta retornada

Assertion Error Message
expected 'Não é possível realizar PUT em /produtos/. Acesse http://localhost:3000 para ver as rotas disponíveis e como utilizá-las.' to contain 'Cadastro realizado com sucesso'
Failed Test: Mensagem "Cadastro realizado com sucesso" é exibida

Assertion Error Message
expected '{"message":"Não é possível realizar PUT em /produtos/. Acesse http://localhost:3000 para ver as rotas disponíveis e como utilizá-las."}' to include 'Cadastro realizado com sucesso'


There are no skipped tests



4 Iterations available to view
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 269B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTgyLCJleHAiOjE2NjIzMDAxODJ9.BcGOcC_6Jl7YDeNDumYRUd74o7WsBTW1ZfIhmvNCNkI
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 8c84ec38-2dcc-4d23-84df-8f332940a0af
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 61
Request Body
{
          "email": "tamara@qa.com.br",
          "password": "teste"
        }
        
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 69dcc846-012e-4d47-bffc-35ee64425848
Content-Type application/json; charset=utf-8
Content-Length 269
Date Sun, 04 Sep 2022 13:53:02 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTgyLCJleHAiOjE2NjIzMDAxODJ9.BcGOcC_6Jl7YDeNDumYRUd74o7WsBTW1ZfIhmvNCNkI"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "authorization" 2 0 0
Envia authorization para variável de ambiente. 2 0 0
Mensagem correta retornada 2 0 0
Mensagem "Login realizado com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/3gwMKuh8W5KyJ5uC
Response Information
Response Code: 400 - Bad Request
Mean time per request: 10ms
Mean size per request: 45B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token f32be3a2-6a00-406c-93a4-345454c72cf1
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id d144745d-9338-4fdd-a19a-8c201e7686a2
Content-Type application/json; charset=utf-8
Content-Length 45
Date Sun, 04 Sep 2022 13:53:02 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Usuário não encontrado"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 4 0 0
Resposta status code Created 4 0 0
POST com sucesso 4 0 0
O tempo de resposta é menor 200ms 4 0 0
Resposta contém atributo presença message 4 0 0
Resposta contém atributo presença _id 4 0 0
Mensagem correta retornada 4 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 4 0 0
Access-Control-Allow-Origin header is * 4 0 0
x-dns-prefetch-control header is off 4 0 0
x-frame-options is SAMEORIGIN 4 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 4 0 0
x-download-options header is noopen 4 0 0
x-content-type-options header is nosniff 4 0 0
x-xss-protection header is 1; mode=block 4 0 0
x-moesif-transaction-id header is present 4 0 0
Content-Type header is application/json; charset=utf-8 4 0 0
Content-Length header is present 4 0 0
Date header is present 4 0 0
Connection header is keep-alive 4 0 0
keep-alive header is timeout=5 4 0 0
Já exclui o usuario 4 0 0
busca o usuario que acabou de ser deletado 4 0 0
Total 92 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/undefined
Response Information
Response Code: 400 - Bad Request
Mean time per request: 6ms
Mean size per request: 45B

Test Pass Percentage
74 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token f502e4a8-38a2-4a20-a66c-45c4a20e0b0c
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 41663b93-684d-427f-8547-32b1d7647046
Content-Type application/json; charset=utf-8
Content-Length 45
Date Sun, 04 Sep 2022 13:53:02 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Usuário não encontrado"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 0 4 0
Resposta status code Created 0 4 0
PUT com sucesso 0 4 0
O tempo de resposta é menor 200ms 4 0 0
Resposta contém atributo "message" 4 0 0
Resposta contém atributo "_id" 0 4 0
Mensagem correta retornada 0 4 0
Mensagem "Cadastro realizado com sucesso" é exibida 0 4 0
Access-Control-Allow-Origin header is * 4 0 0
x-dns-prefetch-control header is off 4 0 0
x-frame-options is SAMEORIGIN 4 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 4 0 0
x-download-options header is noopen 4 0 0
x-content-type-options header is nosniff 4 0 0
x-xss-protection header is 1; mode=block 4 0 0
x-moesif-transaction-id header is present 4 0 0
Content-Type header is application/json; charset=utf-8 4 0 0
Content-Length header is present 4 0 0
Date header is present 4 0 0
Connection header is keep-alive 4 0 0
keep-alive header is timeout=5 4 0 0
Já exclui o usuario 4 0 0
busca o usuario que acabou de ser deletado 4 0 0
Total 68 24 0
Test Failures
Test NameAssertion Error
Status code is 201
expected response to have status code 201 but got 405
Resposta status code Created
expected response to have status reason 'Created' but got 'Method Not Allowed'
PUT com sucesso
expected 405 to be one of [ 201 ]
Resposta contém atributo "_id"
expected undefined to exist
Mensagem correta retornada
expected 'Não é possível realizar PUT em /usuarios/. Acesse http://localhost:3000 para ver as rotas disponíveis e como utilizá-las.' to contain 'Cadastro realizado com sucesso'
Mensagem "Cadastro realizado com sucesso" é exibida
expected '{"message":"Não é possível realizar PUT em /usuarios/. Acesse http://localhost:3000 para ver as rotas disponíveis e como utilizá-las."}' to include 'Cadastro realizado com sucesso'
Request Information
Request Method: POST
Request URL: http://localhost:3000/usuarios
Response Information
Response Code: 201 - Created
Mean time per request: 5ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 5cdd4cfd-a8c6-4de0-8fb0-84651c056179
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 115
Request Body
{
          "nome": "Leanna_Nienow",
          "email": "Robb58@yahoo.com",
          "password": "teste",
          "administrador": "true"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 408919f1-a21b-4c0f-81c2-f683feb748f8
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 04 Sep 2022 13:53:02 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "RbXEB486N6r1TbYH"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
POST com sucesso 2 0 0
Resposta status code Created 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "message" 2 0 0
Resposta contém atributo presença "_id" 2 0 0
Mensagem correta retornada, valida atributo de Conteúdo 2 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Envia id para variável de ambiente. 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/RbXEB486N6r1TbYH
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 149B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 255ad735-b54d-461e-a799-1bb35dcba089
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 080c88a3-b571-42e6-9b55-b0269ff315a3
Content-Type application/json; charset=utf-8
Content-Length 149
Date Sun, 04 Sep 2022 13:53:02 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "nome": "Leanna_Nienow",
            "email": "Robb58@yahoo.com",
            "password": "teste",
            "administrador": "true",
            "_id": "RbXEB486N6r1TbYH"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença 'nome' 2 0 0
Resposta contém atributo presença 'email' 2 0 0
Resposta contém atributo presença 'password' 2 0 0
Resposta contém atributo presença 'administrador' 2 0 0
Resposta contém atributo presença '_id' 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 858B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 5460f364-feb8-4827-9819-031d8881a862
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id a73eb99c-f791-4a4d-ad40-e4395fdb8195
Content-Type application/json; charset=utf-8
Content-Length 858
Date Sun, 04 Sep 2022 13:53:02 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 4,
            "usuarios": [
                {
                    "nome": "S.Master",
                    "email": "master@qa.com.br",
                    "password": "senha",
                    "administrador": "true",
                    "_id": "E3WQPxwjuCx3HBHA"
                },
                {
                    "nome": "Leanna_Nienow",
                    "email": "Robb58@yahoo.com",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "RbXEB486N6r1TbYH"
                },
                {
                    "nome": "Tamara",
                    "email": "tamara@qa.com.br",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "cbnW9qchtXdR6PTg"
                },
                {
                    "nome": "ciclano",
                    "email": "ciclano@qa.com.br",
                    "password": "fluxo",
                    "administrador": "true",
                    "_id": "oBCioHZC7a0O1CK9"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, usuário listado 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença 'quantidade' 2 0 0
Resposta contém atributo presença 'usuarios' 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 24d5a4f4-7ab7-46cf-a6f9-8f978b455077
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 0cb793f6-6547-473c-8192-4165251dc5db
Content-Type application/json; charset=utf-8
Content-Length 46
Date Sun, 04 Sep 2022 13:53:02 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 3 0 0
Resposta status code OK 3 0 0
PUT com sucesso 3 0 0
O tempo de resposta é menor 200ms 3 0 0
Resposta contém atributo presença "message" 3 0 0
Mensagem correta retornada 3 0 0
Mensagem "Registro alterado com sucesso" é exibida 3 0 0
Access-Control-Allow-Origin header is * 3 0 0
x-dns-prefetch-control header is off 3 0 0
x-frame-options is SAMEORIGIN 3 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 3 0 0
x-download-options header is noopen 3 0 0
x-content-type-options header is nosniff 3 0 0
x-xss-protection header is 1; mode=block 3 0 0
x-moesif-transaction-id header is present 3 0 0
Content-Type header is application/json; charset=utf-8 3 0 0
Content-Length header is present 3 0 0
Date header is present 3 0 0
Connection header is keep-alive 3 0 0
keep-alive header is timeout=5 3 0 0
Já exclui o usuario, caso seja cadastrado! 3 0 0
Total 63 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/RbXEB486N6r1TbYH
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 2600320f-ef76-483b-a442-d1a87f196210
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 500a6c03-b5ed-41c2-94dc-4bbced0a00f2
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:03 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
DELETE com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "message" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Registro excluído com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/NiAB2ZeFzfaJXDza
Response Information
Response Code: 200 - OK
Mean time per request: 9ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTgzLCJleHAiOjE2NjIzMDAxODN9.aRXJJwZMBZzPOzz1fdvV3ud8y-q_8Pigz_8rv2NuBE0
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token ed911889-040b-4534-bf57-4d45e3a4470f
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 000db71b-b852-4399-9ebd-d7b81a5b3c8f
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:03 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 4 0 0
Resposta status code Created 4 0 0
POST com sucesso 4 0 0
O tempo de resposta é menor 200ms 4 0 0
Resposta contém atributo presença "message" 4 0 0
Resposta contém atributo presença "_id" 4 0 0
Mensagem correta retornada, valida atributo de Conteúdo 4 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 4 0 0
Access-Control-Allow-Origin header is * 4 0 0
x-dns-prefetch-control header is off 4 0 0
x-frame-options is SAMEORIGIN 4 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 4 0 0
x-download-options header is noopen 4 0 0
x-content-type-options header is nosniff 4 0 0
x-xss-protection header is 1; mode=block 4 0 0
x-moesif-transaction-id header is present 4 0 0
Content-Type header is application/json; charset=utf-8 4 0 0
Content-Length header is present 4 0 0
Date header is present 4 0 0
Connection header is keep-alive 4 0 0
keep-alive header is timeout=5 4 0 0
Excluir produto 4 0 0
busca o produto que acabou de ser deletado 4 0 0
Total 92 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 7ms
Mean size per request: 46B

Test Pass Percentage
76 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTgzLCJleHAiOjE2NjIzMDAxODN9.aRXJJwZMBZzPOzz1fdvV3ud8y-q_8Pigz_8rv2NuBE0
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token ac610584-3943-4331-aaa2-b437acd1dcd2
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id f1546fbf-3098-4df1-b867-66d263535ad3
Content-Type application/json; charset=utf-8
Content-Length 46
Date Sun, 04 Sep 2022 13:53:03 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 0 4 0
Resposta status code Created 0 4 0
Resposta contém atributo "message" 4 0 0
Resposta contém atributo "_id" 0 4 0
Mensagem correta retornada 0 4 0
Mensagem "Cadastro realizado com sucesso" é exibida 0 4 0
Access-Control-Allow-Origin header is * 4 0 0
x-dns-prefetch-control header is off 4 0 0
x-frame-options is SAMEORIGIN 4 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 4 0 0
x-download-options header is noopen 4 0 0
x-content-type-options header is nosniff 4 0 0
x-xss-protection header is 1; mode=block 4 0 0
x-moesif-transaction-id header is present 4 0 0
Content-Type header is application/json; charset=utf-8 4 0 0
Content-Length header is present 4 0 0
Date header is present 4 0 0
Connection header is keep-alive 4 0 0
keep-alive header is timeout=5 4 0 0
Excluir produto 4 0 0
busca o produto que acabou de ser deletado 4 0 0
Total 64 20 0
Test Failures
Test NameAssertion Error
Status code is 201
expected response to have status code 201 but got 405
Resposta status code Created
expected response to have status reason 'Created' but got 'Method Not Allowed'
Resposta contém atributo "_id"
expected undefined to exist
Mensagem correta retornada
expected 'Não é possível realizar PUT em /produtos/. Acesse http://localhost:3000 para ver as rotas disponíveis e como utilizá-las.' to contain 'Cadastro realizado com sucesso'
Mensagem "Cadastro realizado com sucesso" é exibida
expected '{"message":"Não é possível realizar PUT em /produtos/. Acesse http://localhost:3000 para ver as rotas disponíveis e como utilizá-las."}' to include 'Cadastro realizado com sucesso'
Request Information
Request Method: POST
Request URL: http://localhost:3000/produtos
Response Information
Response Code: 201 - Created
Mean time per request: 3ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTgzLCJleHAiOjE2NjIzMDAxODN9.aRXJJwZMBZzPOzz1fdvV3ud8y-q_8Pigz_8rv2NuBE0
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 57966672-0bbf-427d-ac4e-a2636ee8cb93
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 105
Request Body
{
          "nome": "Awesome Metal Table",
          "preco": 50,
          "descricao": "Cotton",
          "quantidade": 255
        }
        
        
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id e49f20ed-17d1-4dde-93df-781c08c875c9
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 04 Sep 2022 13:53:03 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "TjcF8iW0H4KVCFnx"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
Resposta status code Created 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "message" 2 0 0
Resposta contém atributo presença "_id" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Envia id para variável de ambiente. 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos/TjcF8iW0H4KVCFnx
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 135B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token f45e93ae-2a58-4a52-856e-453a3132b33e
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id e7fb6225-7c2d-44ab-bc36-e8ef9d431e18
Content-Type application/json; charset=utf-8
Content-Length 135
Date Sun, 04 Sep 2022 13:53:03 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "nome": "Awesome Metal Table",
            "preco": 50,
            "descricao": "Cotton",
            "quantidade": 255,
            "_id": "TjcF8iW0H4KVCFnx"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "nome" 2 0 0
Resposta contém atributo "preco" 2 0 0
Resposta contém atributo "descricao" 2 0 0
Resposta contém atributo "quantidade" 2 0 0
Resposta contém atributo "_id" 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 1015B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTgzLCJleHAiOjE2NjIzMDAxODN9.aRXJJwZMBZzPOzz1fdvV3ud8y-q_8Pigz_8rv2NuBE0
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 0eceb1c7-eca5-4f1a-b5dc-ab4292d24efd
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id c4c6bf51-64a6-492d-903f-10d977cb5ccc
Content-Type application/json; charset=utf-8
Content-Length 1015
Date Sun, 04 Sep 2022 13:53:03 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 5,
            "produtos": [
                {
                    "nome": "Blaze34",
                    "preco": 40,
                    "descricao": "{{randomDescribe}}",
                    "quantidade": 250,
                    "_id": "4oOLTpRw0vFGEbz2"
                },
                {
                    "nome": "Generic Wooden Table",
                    "preco": 50,
                    "descricao": "Rubber",
                    "quantidade": 255,
                    "_id": "52lftwUqjcnkGKyV"
                },
                {
                    "nome": "Logitech MX Vertical",
                    "preco": 470,
                    "descricao": "Mouse",
                    "quantidade": 382,
                    "_id": "BeeJh5lz3k6kSIzA"
                },
                {
                    "nome": "Samsung 60 polegadas",
                    "preco": 5240,
                    "descricao": "TV",
                    "quantidade": 49458,
                    "_id": "K6leHdftCeOJj8BJ"
                },
                {
                    "nome": "Awesome Metal Table",
                    "preco": 50,
                    "descricao": "Cotton",
                    "quantidade": 255,
                    "_id": "TjcF8iW0H4KVCFnx"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, produto listado 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "quantidade" 2 0 0
Resposta contém atributo presença "produtos" 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTgzLCJleHAiOjE2NjIzMDAxODN9.aRXJJwZMBZzPOzz1fdvV3ud8y-q_8Pigz_8rv2NuBE0
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token e1dc5054-455b-4ed0-8152-bf172e7ce999
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 97685ad0-01d0-4557-a863-299d5ed9af75
Content-Type application/json; charset=utf-8
Content-Length 46
Date Sun, 04 Sep 2022 13:53:03 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 3 0 0
Resposta status code OK 3 0 0
PUT com sucesso 3 0 0
O tempo de resposta é menor 200ms 3 0 0
Resposta contém atributo presença "message" 3 0 0
Mensagem correta retornada, valida atributo de Conteúdo 3 0 0
Mensagem "Registro alterado com sucesso" é exibida 3 0 0
Access-Control-Allow-Origin header is * 3 0 0
x-dns-prefetch-control header is off 3 0 0
x-frame-options is SAMEORIGIN 3 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 3 0 0
x-download-options header is noopen 3 0 0
x-content-type-options header is nosniff 3 0 0
x-xss-protection header is 1; mode=block 3 0 0
x-moesif-transaction-id header is present 3 0 0
Content-Type header is application/json; charset=utf-8 3 0 0
Content-Length header is present 3 0 0
Date header is present 3 0 0
Connection header is keep-alive 3 0 0
keep-alive header is timeout=5 3 0 0
Já exclui o produto, caso tenha cadastrado! 3 0 0
Total 63 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/TjcF8iW0H4KVCFnx
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTgzLCJleHAiOjE2NjIzMDAxODN9.aRXJJwZMBZzPOzz1fdvV3ud8y-q_8Pigz_8rv2NuBE0
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 45a4e7ff-331a-4c82-a302-fc94d7816cdc
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 50e93c75-04f0-49f2-bacb-91fecdb0f09c
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:03 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, foi excluído 2 0 0
Resposta status code OK 2 0 0
DELETE com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo Presença "message" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Registro excluído com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 201 - Created
Mean time per request: 6ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTgzLCJleHAiOjE2NjIzMDAxODN9.aRXJJwZMBZzPOzz1fdvV3ud8y-q_8Pigz_8rv2NuBE0
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token e91f34dc-6432-425c-b11e-9187a7fd788f
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 115
Request Body
{
          "produtos": [
            {
              "idProduto": "K6leHdftCeOJj8BJ",
              "quantidade": 3
            }
          ]}
                    
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id edc8c07e-ae04-4e68-a5a9-6855ecf233cc
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 04 Sep 2022 13:53:03 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "ZKCSPtm9RtDHeR7G"
        }
Test Information
NamePassedFailedSkipped
Status: 201, OK, carrinhos cadastrado 2 0 0
Resposta status code Created 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "_id" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 2 0 0
Envia id para variável de ambiente. 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 975B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTgzLCJleHAiOjE2NjIzMDAxODN9.aRXJJwZMBZzPOzz1fdvV3ud8y-q_8Pigz_8rv2NuBE0
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 555ab978-dc08-4919-b99f-3d5944f6dfc5
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id fe286fe6-97d8-4b69-ab63-281aef569490
Content-Type application/json; charset=utf-8
Content-Length 975
Date Sun, 04 Sep 2022 13:53:04 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 2,
            "carrinhos": [
                {
                    "produtos": [
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 3,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 15720,
                    "quantidadeTotal": 3,
                    "idUsuario": "cbnW9qchtXdR6PTg",
                    "_id": "ZKCSPtm9RtDHeR7G"
                },
                {
                    "produtos": [
                        {
                            "idProduto": "BeeJh5lz3k6kSIzA",
                            "quantidade": 2,
                            "precoUnitario": 470
                        },
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 1,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 6180,
                    "quantidadeTotal": 3,
                    "idUsuario": "oUb7aGkMtSEPf6BZ",
                    "_id": "qbMqntef4iTOwWfg"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, carrinhos listados 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "quantidade" 2 0 0
Resposta contém atributo "carrinhos" 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos/qbMqntef4iTOwWfg
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 401B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg0LCJleHAiOjE2NjIzMDAxODR9.WswL_rH8p_XUCheWmYJ3tg0Q7QBHI1ff0Y4j2m7ERLI
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 6d2fb1c0-69dc-4518-ad93-3f70f7029674
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 0087e61d-3a01-42e2-8cf2-b659adce65c8
Content-Type application/json; charset=utf-8
Content-Length 401
Date Sun, 04 Sep 2022 13:53:04 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "produtos": [
                {
                    "idProduto": "BeeJh5lz3k6kSIzA",
                    "quantidade": 2,
                    "precoUnitario": 470
                },
                {
                    "idProduto": "K6leHdftCeOJj8BJ",
                    "quantidade": 1,
                    "precoUnitario": 5240
                }
            ],
            "precoTotal": 6180,
            "quantidadeTotal": 3,
            "idUsuario": "oUb7aGkMtSEPf6BZ",
            "_id": "qbMqntef4iTOwWfg"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, carrinho buscado 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "produtos" 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 36 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/concluir-compra
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg0LCJleHAiOjE2NjIzMDAxODR9.WswL_rH8p_XUCheWmYJ3tg0Q7QBHI1ff0Y4j2m7ERLI
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 9b64e9e3-cfab-428b-8077-9aba7a7a3bb3
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 3682069e-8bd8-4430-9a77-37fcd1b7f750
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:04 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, compra concluída e carrinho excluído 2 0 0
Resposta status code OK 2 0 0
DELETE com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Registro excluído com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 201 - Created
Mean time per request: 6ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg0LCJleHAiOjE2NjIzMDAxODR9.WswL_rH8p_XUCheWmYJ3tg0Q7QBHI1ff0Y4j2m7ERLI
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token b7b03845-1fb9-4566-a013-282b05dab06e
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 115
Request Body
{
          "produtos": [
            {
              "idProduto": "K6leHdftCeOJj8BJ",
              "quantidade": 3
            }
          ]}
                    
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 24e2431b-9c92-44fb-b9c4-4990d4460ac0
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 04 Sep 2022 13:53:04 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "AIjbe7LdnIa7lbwG"
        }
Test Information
NamePassedFailedSkipped
Status: 201, OK, carrinhos cadastrado 2 0 0
Resposta status code Created 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "_id" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Envia id para variável de ambiente. 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 975B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg0LCJleHAiOjE2NjIzMDAxODR9.WswL_rH8p_XUCheWmYJ3tg0Q7QBHI1ff0Y4j2m7ERLI
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token ce3e64be-f852-405e-9ee6-826ef1ee54e7
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 7fc5357c-7c15-45cb-b1db-d13fa496d812
Content-Type application/json; charset=utf-8
Content-Length 975
Date Sun, 04 Sep 2022 13:53:04 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 2,
            "carrinhos": [
                {
                    "produtos": [
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 3,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 15720,
                    "quantidadeTotal": 3,
                    "idUsuario": "cbnW9qchtXdR6PTg",
                    "_id": "AIjbe7LdnIa7lbwG"
                },
                {
                    "produtos": [
                        {
                            "idProduto": "BeeJh5lz3k6kSIzA",
                            "quantidade": 2,
                            "precoUnitario": 470
                        },
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 1,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 6180,
                    "quantidadeTotal": 3,
                    "idUsuario": "oUb7aGkMtSEPf6BZ",
                    "_id": "qbMqntef4iTOwWfg"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, carrinhos listados 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "quantidade" 2 0 0
Resposta contém atributo "carrinhos" 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos/qbMqntef4iTOwWfg
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 401B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg0LCJleHAiOjE2NjIzMDAxODR9.WswL_rH8p_XUCheWmYJ3tg0Q7QBHI1ff0Y4j2m7ERLI
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 278ebec4-1aad-4c4e-9ef1-ed92f4d79b3b
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 711c901e-3c41-46ba-9734-e3cd3017e686
Content-Type application/json; charset=utf-8
Content-Length 401
Date Sun, 04 Sep 2022 13:53:04 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "produtos": [
                {
                    "idProduto": "BeeJh5lz3k6kSIzA",
                    "quantidade": 2,
                    "precoUnitario": 470
                },
                {
                    "idProduto": "K6leHdftCeOJj8BJ",
                    "quantidade": 1,
                    "precoUnitario": 5240
                }
            ],
            "precoTotal": 6180,
            "quantidadeTotal": 3,
            "idUsuario": "oUb7aGkMtSEPf6BZ",
            "_id": "qbMqntef4iTOwWfg"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, carrinho buscado 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "produtos" 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 36 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/cancelar-compra
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 86B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg0LCJleHAiOjE2NjIzMDAxODR9.WswL_rH8p_XUCheWmYJ3tg0Q7QBHI1ff0Y4j2m7ERLI
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token edab8003-3c18-493f-af61-34a9a31ce5e9
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 9cfa3996-9db1-4074-85b1-60def6797fa0
Content-Type application/json; charset=utf-8
Content-Length 86
Date Sun, 04 Sep 2022 13:53:04 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso. Estoque dos produtos reabastecido"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, compra concluída e carrinho excluído 2 0 0
Resposta status code OK 2 0 0
DELETE com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Registro excluído com sucesso. Estoque dos produtos reabastecido" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 269B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token da989490-70de-4fc7-901c-7ff5e5ff10b0
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 59
Request Body
{
          "email": "master@qa.com.br",
          "password": "senha"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 9afe2c6e-6924-419a-aa76-a3e39f5aa3cf
Content-Type application/json; charset=utf-8
Content-Length 269
Date Sun, 04 Sep 2022 13:53:04 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1hc3RlckBxYS5jb20uYnIiLCJwYXNzd29yZCI6InNlbmhhIiwiaWF0IjoxNjYyMjk5NTg0LCJleHAiOjE2NjIzMDAxODR9.e7xxTxrnkbgS0iFXunu14WYpF7efC_jWWvIIVusrEwk"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "authorization" 2 0 0
Mensagem correta retornada 2 0 0
Mensagem "Login realizado com sucesso" é exibida 2 0 0
Envia authorization para variável de ambiente. 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 201 - Created
Mean time per request: 7ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1hc3RlckBxYS5jb20uYnIiLCJwYXNzd29yZCI6InNlbmhhIiwiaWF0IjoxNjYyMjk5NTg0LCJleHAiOjE2NjIzMDAxODR9.e7xxTxrnkbgS0iFXunu14WYpF7efC_jWWvIIVusrEwk
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 569ddc36-9d50-463b-8f0f-ab956ecfb19b
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 102
Request Body
  {
          "produtos": [
            {
              "idProduto":"4oOLTpRw0vFGEbz2",
              "quantidade": 6
            }
          ]}
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id c03a11fe-50c6-4b0d-a41f-dce827efc5ef
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 04 Sep 2022 13:53:04 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "NuH1T4kkzROrrojx"
        }
Test Information
NamePassedFailedSkipped
Status: 201, OK, carrinhos cadastrado 2 0 0
Resposta status code Created 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "_id" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Envia id para variável de ambiente. 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/concluir-compra
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1hc3RlckBxYS5jb20uYnIiLCJwYXNzd29yZCI6InNlbmhhIiwiaWF0IjoxNjYyMjk5NTg0LCJleHAiOjE2NjIzMDAxODR9.e7xxTxrnkbgS0iFXunu14WYpF7efC_jWWvIIVusrEwk
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 72d24235-2506-4514-9195-5bcc3512a042
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 79117026-a5ca-40b9-b94a-2f3381e14251
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:04 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, compra concluída e carrinho excluído 2 0 0
Resposta status code OK 2 0 0
DELETE com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Registro excluído com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 271B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token d4d9b6d1-d181-4582-b3f5-926006f3f459
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 60
Request Body
{
          "email": "ciclano@qa.com.br",
          "password": "fluxo"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 18217e20-c66e-4782-80a6-343c3b4a73ca
Content-Type application/json; charset=utf-8
Content-Length 271
Date Sun, 04 Sep 2022 13:53:04 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImNpY2xhbm9AcWEuY29tLmJyIiwicGFzc3dvcmQiOiJmbHV4byIsImlhdCI6MTY2MjI5OTU4NCwiZXhwIjoxNjYyMzAwMTg0fQ.2Pkz-clAEzuQchxhfrHf6Llw5vH7uwx_kW5UfG65ckQ"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "authorization" 2 0 0
Envia authorization para variável de ambiente. 2 0 0
Mensagem correta retornada 2 0 0
Mensagem "Login realizado com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 201 - Created
Mean time per request: 9ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImNpY2xhbm9AcWEuY29tLmJyIiwicGFzc3dvcmQiOiJmbHV4byIsImlhdCI6MTY2MjI5OTU4NCwiZXhwIjoxNjYyMzAwMTg0fQ.2Pkz-clAEzuQchxhfrHf6Llw5vH7uwx_kW5UfG65ckQ
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token f77efdc5-fd14-4820-bd93-67b3110c04e1
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 105
Request Body
  {
          "produtos": [
            {
              "idProduto": "52lftwUqjcnkGKyV",
              "quantidade": 6
            }
          ]}
        
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 7768d692-82f4-4923-b33b-f975ce5fe6c9
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 04 Sep 2022 13:53:05 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "vFCvhVtucsZIC0Ho"
        }
Test Information
NamePassedFailedSkipped
Status: 201, OK, carrinhos cadastrado 2 0 0
Resposta status code Created 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "_id" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 2 0 0
Envia id para variável de ambiente. 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/cancelar-compra
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 86B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImNpY2xhbm9AcWEuY29tLmJyIiwicGFzc3dvcmQiOiJmbHV4byIsImlhdCI6MTY2MjI5OTU4NCwiZXhwIjoxNjYyMzAwMTg0fQ.2Pkz-clAEzuQchxhfrHf6Llw5vH7uwx_kW5UfG65ckQ
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token ff1afeb1-97c9-40bd-b762-e0f9cf52ea1e
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 0431f7a1-b65d-44d6-b3a9-7a9a65a824b3
Content-Type application/json; charset=utf-8
Content-Length 86
Date Sun, 04 Sep 2022 13:53:05 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso. Estoque dos produtos reabastecido"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, compra concluída e carrinho excluído 2 0 0
Resposta status code OK 2 0 0
DELETE com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Registro excluído com sucesso. Estoque dos produtos reabastecido" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 400 - Bad Request
Mean time per request: 4ms
Mean size per request: 50B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 4cd59081-6b44-4aa0-9603-a67c35ebde87
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 43
Request Body
{
          "email": "",
          "password": "teste"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 5b822f30-f7d3-47ba-ad7e-826019d63179
Content-Type application/json; charset=utf-8
Content-Length 50
Date Sun, 04 Sep 2022 13:53:05 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "email": "email não pode ficar em branco"
        }
Test Information
NamePassedFailedSkipped
Status: 400, bad request 1 0 0
Resposta status code Bad Request 1 0 0
POST sem sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo "email" 1 0 0
Mensagem retornada 1 0 0
Mensagem "email não pode ficar em branco" é exibida 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 400 - Bad Request
Mean time per request: 4ms
Mean size per request: 50B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token af607490-40c1-4771-8f74-31709bc8ed7a
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 58
Request Body
{
          "email": "masterqa.com.br",
          "password": "senha"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 7cad652e-4eec-4135-bd51-2c5435ffb846
Content-Type application/json; charset=utf-8
Content-Length 50
Date Sun, 04 Sep 2022 13:53:05 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "email": "email deve ser um email válido"
        }
Test Information
NamePassedFailedSkipped
Status: 400, bad request 1 0 0
Resposta status code Bad Request 1 0 0
POST sem sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo "email" 1 0 0
Mensagem incorreta retornada 1 0 0
Mensagem "email deve ser um email válido" é exibida 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 401 - Unauthorized
Mean time per request: 4ms
Mean size per request: 48B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 2f61da15-686d-47c0-8299-af3f10cc926e
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 58
Request Body
{
          "email": "tamara@qa.com.br",
          "password": "test"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id fd715bc7-62aa-4208-9704-e30624c4bb6f
Content-Type application/json; charset=utf-8
Content-Length 48
Date Sun, 04 Sep 2022 13:53:05 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Email e/ou senha inválidos"
        }
Test Information
NamePassedFailedSkipped
Status: 401,Unauthorized 1 0 0
Resposta status code Unauthorized 1 0 0
POST sem sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo "email" 1 0 0
Mensagem incorreta retornada 1 0 0
Mensagem "Email e/ou senha inválidos" é exibida 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/cbnW9qchtXdR6P
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 45B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 2976b480-0483-46cb-afb2-715763c5802a
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id ca896005-1d59-4b02-b866-511c2347a6c6
Content-Type application/json; charset=utf-8
Content-Length 45
Date Sun, 04 Sep 2022 13:53:05 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Usuário não encontrado"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Resposta status code Bad Request 2 0 0
GET sem sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença 'message' 2 0 0
Mensagem "Usuário não encontrado" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/usuarios
Response Information
Response Code: 400 - Bad Request
Mean time per request: 4ms
Mean size per request: 53B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token d2864a43-b28d-4185-bb74-7a5df657afe0
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 108
Request Body
{
          "nome": "tamara",
          "email": "tamara@qa.com.br",
          "password": "teste",
          "administrador": "true"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id fb0c7835-f0be-4318-b24b-0ebf7173d2d1
Content-Type application/json; charset=utf-8
Content-Length 53
Date Sun, 04 Sep 2022 13:53:05 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Este email já está sendo usado"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Resposta status code Bad Request 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "message" 2 0 0
Mensagem incorreta retornada, valida atributo de Conteúdo 2 0 0
Mensagem "Este email já está sendo usado" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:3000/usuarios/%7B%7BidUalt%7D%7D
Response Information
Response Code: 400 - Bad Request
Mean time per request: 5ms
Mean size per request: 67B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token dc155af9-4c57-43ac-b2d5-50c90e635c01
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 115
Request Body
{
          "nome": "Kory_Wehner5",
          "email": "Joe.Abshire@yahoo.com",
          "password": "teste",
          "administrador": ""
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 21c8e428-ce93-4358-8a90-15e723790839
Content-Type application/json; charset=utf-8
Content-Length 67
Date Sun, 04 Sep 2022 13:53:05 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "administrador": "administrador deve ser 'true' ou 'false'"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Resposta status code Bad Request 2 0 0
PUT sem sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "administrador" 2 0 0
Mensagem "administrador deve ser 'true' ou 'false'" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/oUb7aGkMtSEPf6BZ
Response Information
Response Code: 400 - Bad Request
Mean time per request: 4ms
Mean size per request: 117B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token eca71fa7-c60a-4e47-99ad-6325970971d7
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id a1140b43-4deb-494e-8614-11977e00752d
Content-Type application/json; charset=utf-8
Content-Length 117
Date Sun, 04 Sep 2022 13:53:05 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Não é permitido excluir usuário com carrinho cadastrado",
            "idCarrinho": "qbMqntef4iTOwWfg"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 1 0 0
Resposta status code Bad Request 1 0 0
DELETE sem sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo presença "message" 1 0 0
Resposta contém atributo presença "idCarrinho" 1 0 0
Mensagem retornada, valida atributo de conteúdo 1 0 0
Mensagem "Não é permitido excluir usuário com carrinho cadastrado" é exibida 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 21 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos/d0BtZveBWmm6JzX
Response Information
Response Code: 400 - Bad Request
Mean time per request: 9ms
Mean size per request: 44B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token fb7de77e-833b-4a9e-9496-ac6b67a09445
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 8b1fb989-a2cf-4cd6-a21a-caba43fdf641
Content-Type application/json; charset=utf-8
Content-Length 44
Date Sun, 04 Sep 2022 13:53:05 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Produto não encontrado"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 1 0 0
Resposta status code Bad Request 1 0 0
GET sem sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo "message" 1 0 0
Mensagem "Produto não encontrado" é exibida 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 19 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:3000/produtos/BeeJh5lz3k6kSIzA
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 48B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg1LCJleHAiOjE2NjIzMDAxODV9.EPcvQa1xu-8hcs4N-C4n2rzILUvC4YpPTMWuvIwi8wo
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token e89f98d3-2eae-4ecb-a835-b37a63e4b266
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 82
Request Body
{
          "nome": "",
          "preco": 470,
          "descricao": "Mouse",
          "quantidade": 382
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 1f220504-6a16-4626-b926-5a69a0b3ef98
Content-Type application/json; charset=utf-8
Content-Length 48
Date Sun, 04 Sep 2022 13:53:06 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "nome": "nome não pode ficar em branco"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Resposta status code Bad Request 2 0 0
PUT sem sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "nome" 2 0 0
Mensagem retornada 2 0 0
Mensagem "nome não pode ficar em branco" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/BeeJh5lz3k6kSIzA
Response Information
Response Code: 400 - Bad Request
Mean time per request: 2ms
Mean size per request: 135B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg1LCJleHAiOjE2NjIzMDAxODV9.EPcvQa1xu-8hcs4N-C4n2rzILUvC4YpPTMWuvIwi8wo
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 85f9bd42-7d9f-4aa3-849a-e4dd086cca9d
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id e54cfbde-bad6-4637-9d17-4f4f671d40f5
Content-Type application/json; charset=utf-8
Content-Length 135
Date Sun, 04 Sep 2022 13:53:06 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Não é permitido excluir produto que faz parte de carrinho",
            "idCarrinhos": [
                "qbMqntef4iTOwWfg"
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Resposta status code Bad Request 2 0 0
DELETE sem sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "message" 2 0 0
Resposta contém atributo presença "idCarrinhos" 2 0 0
Mensagem retornada, valida atributo de conteúdo 2 0 0
Mensagem "Não é permitido excluir produto que faz parte de carrinho" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 42 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/XasieGo9ySmndzhJ
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token d291ac1a-85da-402e-8dcd-53f527f214d2
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 9d3bce8b-3c70-40fc-8272-09cdb37f7326
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:06 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 3 0 0
Resposta status code Created 3 0 0
POST com sucesso 3 0 0
O tempo de resposta é menor 200ms 3 0 0
Resposta contém atributo presença "message" 3 0 0
Resposta contém atributo presença "_id" 3 0 0
Mensagem correta retornada, valida atributo de Conteúdo 3 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 3 0 0
Access-Control-Allow-Origin header is * 3 0 0
x-dns-prefetch-control header is off 3 0 0
x-frame-options is SAMEORIGIN 3 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 3 0 0
x-download-options header is noopen 3 0 0
x-content-type-options header is nosniff 3 0 0
x-xss-protection header is 1; mode=block 3 0 0
x-moesif-transaction-id header is present 3 0 0
Content-Type header is application/json; charset=utf-8 3 0 0
Content-Length header is present 3 0 0
Date header is present 3 0 0
Connection header is keep-alive 3 0 0
keep-alive header is timeout=5 3 0 0
Já exclui o usuario 3 0 0
Total 66 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/IZh2N10KQgUg0lRQ
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token ce2183d4-59f1-4d75-9969-a475ed11423c
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id cc7662d9-10a6-479c-95cb-3ca2a8b8bca6
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:06 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 3 0 0
Resposta status code Created 3 0 0
POST com sucesso 3 0 0
O tempo de resposta é menor 200ms 3 0 0
Resposta contém atributo presença "message" 3 0 0
Resposta contém atributo presença "_id" 3 0 0
Mensagem correta retornada, valida atributo de Conteúdo 3 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 3 0 0
Access-Control-Allow-Origin header is * 3 0 0
x-dns-prefetch-control header is off 3 0 0
x-frame-options is SAMEORIGIN 3 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 3 0 0
x-download-options header is noopen 3 0 0
x-content-type-options header is nosniff 3 0 0
x-xss-protection header is 1; mode=block 3 0 0
x-moesif-transaction-id header is present 3 0 0
Content-Type header is application/json; charset=utf-8 3 0 0
Content-Length header is present 3 0 0
Date header is present 3 0 0
Connection header is keep-alive 3 0 0
keep-alive header is timeout=5 3 0 0
Já exclui o usuario 3 0 0
Total 66 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos/
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 822B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 6d031e5b-601f-43ec-9cbe-1f2168d5c1bc
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 99a14f81-c3ea-481c-81c8-805b549ebd75
Content-Type application/json; charset=utf-8
Content-Length 822
Date Sun, 04 Sep 2022 13:53:06 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 4,
            "produtos": [
                {
                    "nome": "Blaze34",
                    "preco": 40,
                    "descricao": "{{randomDescribe}}",
                    "quantidade": 244,
                    "_id": "4oOLTpRw0vFGEbz2"
                },
                {
                    "nome": "Generic Wooden Table",
                    "preco": 50,
                    "descricao": "Rubber",
                    "quantidade": 255,
                    "_id": "52lftwUqjcnkGKyV"
                },
                {
                    "nome": "Logitech MX Vertical",
                    "preco": 470,
                    "descricao": "Mouse",
                    "quantidade": 382,
                    "_id": "BeeJh5lz3k6kSIzA"
                },
                {
                    "nome": "Samsung 60 polegadas",
                    "preco": 5240,
                    "descricao": "TV",
                    "quantidade": 49455,
                    "_id": "K6leHdftCeOJj8BJ"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Resposta status code OK 1 0 0
GET com sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo "quantidade" 1 0 0
Resposta contém atributo "produtos" 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 19 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/
Response Information
Response Code: 200 - OK
Mean time per request: 2ms
Mean size per request: 651B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token ac3a1bd6-636e-43be-8428-b5e37394ce2b
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 5ba6bbc4-386d-4a3f-877e-a41bf31a7dad
Content-Type application/json; charset=utf-8
Content-Length 651
Date Sun, 04 Sep 2022 13:53:06 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 3,
            "usuarios": [
                {
                    "nome": "S.Master",
                    "email": "master@qa.com.br",
                    "password": "senha",
                    "administrador": "true",
                    "_id": "E3WQPxwjuCx3HBHA"
                },
                {
                    "nome": "Tamara",
                    "email": "tamara@qa.com.br",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "cbnW9qchtXdR6PTg"
                },
                {
                    "nome": "ciclano",
                    "email": "ciclano@qa.com.br",
                    "password": "fluxo",
                    "administrador": "true",
                    "_id": "oBCioHZC7a0O1CK9"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença 'quantidade' 2 0 0
Resposta contém atributo presença 'usuarios' 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 595B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 1166101a-75ad-4260-aba0-51766eb5a42a
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 58d4eaea-47d1-4a9f-81d3-482acbe3ffb8
Content-Type application/json; charset=utf-8
Content-Length 595
Date Sun, 04 Sep 2022 13:53:06 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 1,
            "carrinhos": [
                {
                    "produtos": [
                        {
                            "idProduto": "BeeJh5lz3k6kSIzA",
                            "quantidade": 2,
                            "precoUnitario": 470
                        },
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 1,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 6180,
                    "quantidadeTotal": 3,
                    "idUsuario": "oUb7aGkMtSEPf6BZ",
                    "_id": "qbMqntef4iTOwWfg"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, carrinho buscado 1 0 0
Resposta status code OK 1 0 0
GET com sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo presença "quantidade" 1 0 0
Resposta contém atributo presença "carrinhos" 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 19 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/O82KC0XsdEQ26w35
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg2LCJleHAiOjE2NjIzMDAxODZ9.xOY3QSQVFjN9_WRL9Kx8sQR3cXFTnrOkrZnVU0p2CFc
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 69033acc-1fd6-4ef8-a419-0c5b489c5484
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id be111201-4b09-4c5a-97e3-8a180a74eb54
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:06 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 3 0 0
Resposta status code Created 3 0 0
POST com sucesso 3 0 0
O tempo de resposta é menor 200ms 3 0 0
Resposta contém atributo presença "message" 3 0 0
Resposta contém atributo presença "_id" 3 0 0
Mensagem correta retornada, valida atributo de Conteúdo 3 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 3 0 0
Access-Control-Allow-Origin header is * 3 0 0
x-dns-prefetch-control header is off 3 0 0
x-frame-options is SAMEORIGIN 3 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 3 0 0
x-download-options header is noopen 3 0 0
x-content-type-options header is nosniff 3 0 0
x-xss-protection header is 1; mode=block 3 0 0
x-moesif-transaction-id header is present 3 0 0
Content-Type header is application/json; charset=utf-8 3 0 0
Content-Length header is present 3 0 0
Date header is present 3 0 0
Connection header is keep-alive 3 0 0
keep-alive header is timeout=5 3 0 0
Excluir produto 3 0 0
Total 66 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:3000/produtos/BeeJh5lz3k6kSIzA
Response Information
Response Code: 401 - Unauthorized
Mean time per request: 4ms
Mean size per request: 103B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 2800f222-acda-4d64-85ae-38c86f22413c
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 82
Request Body
{
          "nome": "",
          "preco": 470,
          "descricao": "Mouse",
          "quantidade": 382
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id eadfe85b-269a-4bf7-82cc-2dfa474f8152
Content-Type application/json; charset=utf-8
Content-Length 103
Date Sun, 04 Sep 2022 13:53:06 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Token de acesso ausente, inválido, expirado ou usuário do token não existe mais"
        }
Test Information
NamePassedFailedSkipped
Status code is 401 2 0 0
Resposta status code Unauthorized 2 0 0
PUT sem sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Mensagem retornada 2 0 0
Mensagem "Token de acesso ausente, inválido, expirado ou usuário do token não existe mais" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 269B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg2LCJleHAiOjE2NjIzMDAxODZ9.xOY3QSQVFjN9_WRL9Kx8sQR3cXFTnrOkrZnVU0p2CFc
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token c935febc-333a-44fd-a678-5cd39d71969b
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 61
Request Body
{
          "email": "tamara@qa.com.br",
          "password": "teste"
        }
        
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id c0e9cdfa-10d1-4e7a-8925-27f99b58711f
Content-Type application/json; charset=utf-8
Content-Length 269
Date Sun, 04 Sep 2022 13:53:06 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg2LCJleHAiOjE2NjIzMDAxODZ9.xOY3QSQVFjN9_WRL9Kx8sQR3cXFTnrOkrZnVU0p2CFc"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "authorization" 2 0 0
Envia authorization para variável de ambiente. 2 0 0
Mensagem correta retornada 2 0 0
Mensagem "Login realizado com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/d0agujyjThyqd5m7
Response Information
Response Code: 400 - Bad Request
Mean time per request: 5ms
Mean size per request: 45B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 7ca6d610-9886-4c1e-a886-da5314616fcf
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 6c74dfd1-fe62-4f4c-9da3-f9fcfcb0ad57
Content-Type application/json; charset=utf-8
Content-Length 45
Date Sun, 04 Sep 2022 13:53:07 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Usuário não encontrado"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 4 0 0
Resposta status code Created 4 0 0
POST com sucesso 4 0 0
O tempo de resposta é menor 200ms 4 0 0
Resposta contém atributo presença message 4 0 0
Resposta contém atributo presença _id 4 0 0
Mensagem correta retornada 4 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 4 0 0
Access-Control-Allow-Origin header is * 4 0 0
x-dns-prefetch-control header is off 4 0 0
x-frame-options is SAMEORIGIN 4 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 4 0 0
x-download-options header is noopen 4 0 0
x-content-type-options header is nosniff 4 0 0
x-xss-protection header is 1; mode=block 4 0 0
x-moesif-transaction-id header is present 4 0 0
Content-Type header is application/json; charset=utf-8 4 0 0
Content-Length header is present 4 0 0
Date header is present 4 0 0
Connection header is keep-alive 4 0 0
keep-alive header is timeout=5 4 0 0
Já exclui o usuario 4 0 0
busca o usuario que acabou de ser deletado 4 0 0
Total 92 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/W9NR8Wx1OZ1R3wjw
Response Information
Response Code: 400 - Bad Request
Mean time per request: 5ms
Mean size per request: 45B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 3ef28f30-212e-40e6-8be5-7b0129ee0c14
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 078c664b-0f67-45c1-b8e0-890e34f81eab
Content-Type application/json; charset=utf-8
Content-Length 45
Date Sun, 04 Sep 2022 13:53:07 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Usuário não encontrado"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 4 0 0
Resposta status code Created 4 0 0
PUT com sucesso 4 0 0
O tempo de resposta é menor 200ms 4 0 0
Resposta contém atributo "message" 4 0 0
Resposta contém atributo "_id" 4 0 0
Mensagem correta retornada 4 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 4 0 0
Access-Control-Allow-Origin header is * 4 0 0
x-dns-prefetch-control header is off 4 0 0
x-frame-options is SAMEORIGIN 4 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 4 0 0
x-download-options header is noopen 4 0 0
x-content-type-options header is nosniff 4 0 0
x-xss-protection header is 1; mode=block 4 0 0
x-moesif-transaction-id header is present 4 0 0
Content-Type header is application/json; charset=utf-8 4 0 0
Content-Length header is present 4 0 0
Date header is present 4 0 0
Connection header is keep-alive 4 0 0
keep-alive header is timeout=5 4 0 0
Já exclui o usuario 4 0 0
busca o usuario que acabou de ser deletado 4 0 0
Total 92 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/usuarios
Response Information
Response Code: 201 - Created
Mean time per request: 5ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 76d51509-0f7b-4825-9114-3bfdacbd6589
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 121
Request Body
{
          "nome": "Ryder.Labadie40",
          "email": "Eleonore15@gmail.com",
          "password": "teste",
          "administrador": "true"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 03044780-801d-497d-ac98-0f75a6738a68
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 04 Sep 2022 13:53:07 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "mRaMXIbsR3alt2Rv"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
POST com sucesso 2 0 0
Resposta status code Created 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "message" 2 0 0
Resposta contém atributo presença "_id" 2 0 0
Mensagem correta retornada, valida atributo de Conteúdo 2 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Envia id para variável de ambiente. 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/mRaMXIbsR3alt2Rv
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 155B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 828230ee-e65b-48d2-9c03-8ae4be63012d
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 46678e28-f5af-4cc2-9ecf-bcc4aa7af72e
Content-Type application/json; charset=utf-8
Content-Length 155
Date Sun, 04 Sep 2022 13:53:07 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "nome": "Ryder.Labadie40",
            "email": "Eleonore15@gmail.com",
            "password": "teste",
            "administrador": "true",
            "_id": "mRaMXIbsR3alt2Rv"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença 'nome' 2 0 0
Resposta contém atributo presença 'email' 2 0 0
Resposta contém atributo presença 'password' 2 0 0
Resposta contém atributo presença 'administrador' 2 0 0
Resposta contém atributo presença '_id' 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 864B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 1f28abdf-f414-4713-a77c-34ee5e69205c
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 2225e45f-4d93-40e2-be70-29f507a45cc5
Content-Type application/json; charset=utf-8
Content-Length 864
Date Sun, 04 Sep 2022 13:53:07 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 4,
            "usuarios": [
                {
                    "nome": "S.Master",
                    "email": "master@qa.com.br",
                    "password": "senha",
                    "administrador": "true",
                    "_id": "E3WQPxwjuCx3HBHA"
                },
                {
                    "nome": "Tamara",
                    "email": "tamara@qa.com.br",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "cbnW9qchtXdR6PTg"
                },
                {
                    "nome": "Ryder.Labadie40",
                    "email": "Eleonore15@gmail.com",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "mRaMXIbsR3alt2Rv"
                },
                {
                    "nome": "ciclano",
                    "email": "ciclano@qa.com.br",
                    "password": "fluxo",
                    "administrador": "true",
                    "_id": "oBCioHZC7a0O1CK9"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, usuário listado 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença 'quantidade' 2 0 0
Resposta contém atributo presença 'usuarios' 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 3e474d75-46ab-4d4b-9eb0-da7946654254
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 78a1b2a7-ea34-4f8b-bbb6-84d287ab6fae
Content-Type application/json; charset=utf-8
Content-Length 46
Date Sun, 04 Sep 2022 13:53:07 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 3 0 0
Resposta status code OK 3 0 0
PUT com sucesso 3 0 0
O tempo de resposta é menor 200ms 3 0 0
Resposta contém atributo presença "message" 3 0 0
Mensagem correta retornada 3 0 0
Mensagem "Registro alterado com sucesso" é exibida 3 0 0
Access-Control-Allow-Origin header is * 3 0 0
x-dns-prefetch-control header is off 3 0 0
x-frame-options is SAMEORIGIN 3 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 3 0 0
x-download-options header is noopen 3 0 0
x-content-type-options header is nosniff 3 0 0
x-xss-protection header is 1; mode=block 3 0 0
x-moesif-transaction-id header is present 3 0 0
Content-Type header is application/json; charset=utf-8 3 0 0
Content-Length header is present 3 0 0
Date header is present 3 0 0
Connection header is keep-alive 3 0 0
keep-alive header is timeout=5 3 0 0
Já exclui o usuario, caso seja cadastrado! 3 0 0
Total 63 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/mRaMXIbsR3alt2Rv
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 2282bb67-bedc-4613-91d5-9bdc0933b94e
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id f16720db-152f-4c09-b381-1b20ef56bb63
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:07 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
DELETE com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "message" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Registro excluído com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/1sJOnu5e70Q7rzf1
Response Information
Response Code: 200 - OK
Mean time per request: 8ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg3LCJleHAiOjE2NjIzMDAxODd9.AsP3SBKMdKbvBUfA-9tAXwjPdUpRAi5p3dKTVf1VYkE
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 991911c8-a55f-4c15-9776-b946f1d37e6b
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 8b6a4b2d-3b7b-4f81-94db-30615142c971
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:07 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 4 0 0
Resposta status code Created 4 0 0
POST com sucesso 4 0 0
O tempo de resposta é menor 200ms 4 0 0
Resposta contém atributo presença "message" 4 0 0
Resposta contém atributo presença "_id" 4 0 0
Mensagem correta retornada, valida atributo de Conteúdo 4 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 4 0 0
Access-Control-Allow-Origin header is * 4 0 0
x-dns-prefetch-control header is off 4 0 0
x-frame-options is SAMEORIGIN 4 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 4 0 0
x-download-options header is noopen 4 0 0
x-content-type-options header is nosniff 4 0 0
x-xss-protection header is 1; mode=block 4 0 0
x-moesif-transaction-id header is present 4 0 0
Content-Type header is application/json; charset=utf-8 4 0 0
Content-Length header is present 4 0 0
Date header is present 4 0 0
Connection header is keep-alive 4 0 0
keep-alive header is timeout=5 4 0 0
Excluir produto 4 0 0
busca o produto que acabou de ser deletado 4 0 0
Total 92 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/suXmUGmchJonzubo
Response Information
Response Code: 200 - OK
Mean time per request: 11ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg3LCJleHAiOjE2NjIzMDAxODd9.AsP3SBKMdKbvBUfA-9tAXwjPdUpRAi5p3dKTVf1VYkE
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token e40cd159-4e2b-42a0-a87d-8bfb5f80e2bf
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 1b72e8ec-5121-43bc-8b0c-3bb75e63d964
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:07 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 4 0 0
Resposta status code Created 4 0 0
Resposta contém atributo "message" 4 0 0
Resposta contém atributo "_id" 4 0 0
Mensagem correta retornada 4 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 4 0 0
Access-Control-Allow-Origin header is * 4 0 0
x-dns-prefetch-control header is off 4 0 0
x-frame-options is SAMEORIGIN 4 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 4 0 0
x-download-options header is noopen 4 0 0
x-content-type-options header is nosniff 4 0 0
x-xss-protection header is 1; mode=block 4 0 0
x-moesif-transaction-id header is present 4 0 0
Content-Type header is application/json; charset=utf-8 4 0 0
Content-Length header is present 4 0 0
Date header is present 4 0 0
Connection header is keep-alive 4 0 0
keep-alive header is timeout=5 4 0 0
Excluir produto 4 0 0
busca o produto que acabou de ser deletado 4 0 0
Total 84 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/produtos
Response Information
Response Code: 201 - Created
Mean time per request: 5ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg3LCJleHAiOjE2NjIzMDAxODd9.AsP3SBKMdKbvBUfA-9tAXwjPdUpRAi5p3dKTVf1VYkE
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token b5d14ba3-8417-49af-b41b-fbff3a7d582c
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 110
Request Body
{
          "nome": "Handmade Frozen Gloves",
          "preco": 50,
          "descricao": "Concrete",
          "quantidade": 255
        }
        
        
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id d3167b9a-ac82-4051-998f-3800d47bea3f
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 04 Sep 2022 13:53:07 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "be3F4HkKJSFHzKYA"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
Resposta status code Created 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "message" 2 0 0
Resposta contém atributo presença "_id" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Envia id para variável de ambiente. 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos/be3F4HkKJSFHzKYA
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 140B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 7bfcdc47-2a0e-4f78-bdbd-2c597e478010
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 1e304490-7947-42af-9f9f-4cfdc24feeaf
Content-Type application/json; charset=utf-8
Content-Length 140
Date Sun, 04 Sep 2022 13:53:08 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "nome": "Handmade Frozen Gloves",
            "preco": 50,
            "descricao": "Concrete",
            "quantidade": 255,
            "_id": "be3F4HkKJSFHzKYA"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "nome" 2 0 0
Resposta contém atributo "preco" 2 0 0
Resposta contém atributo "descricao" 2 0 0
Resposta contém atributo "quantidade" 2 0 0
Resposta contém atributo "_id" 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 1020B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg4LCJleHAiOjE2NjIzMDAxODh9.urt7j138bcTDjaH5j1jQXLgkFpGGlYt8rdXup5e_ai8
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 475dc133-7574-4b77-adc9-f6dc56d35ef0
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 41978206-d9f6-4275-a353-a4507bf72716
Content-Type application/json; charset=utf-8
Content-Length 1020
Date Sun, 04 Sep 2022 13:53:08 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 5,
            "produtos": [
                {
                    "nome": "Blaze34",
                    "preco": 40,
                    "descricao": "{{randomDescribe}}",
                    "quantidade": 244,
                    "_id": "4oOLTpRw0vFGEbz2"
                },
                {
                    "nome": "Generic Wooden Table",
                    "preco": 50,
                    "descricao": "Rubber",
                    "quantidade": 255,
                    "_id": "52lftwUqjcnkGKyV"
                },
                {
                    "nome": "Logitech MX Vertical",
                    "preco": 470,
                    "descricao": "Mouse",
                    "quantidade": 382,
                    "_id": "BeeJh5lz3k6kSIzA"
                },
                {
                    "nome": "Samsung 60 polegadas",
                    "preco": 5240,
                    "descricao": "TV",
                    "quantidade": 49455,
                    "_id": "K6leHdftCeOJj8BJ"
                },
                {
                    "nome": "Handmade Frozen Gloves",
                    "preco": 50,
                    "descricao": "Concrete",
                    "quantidade": 255,
                    "_id": "be3F4HkKJSFHzKYA"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, produto listado 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "quantidade" 2 0 0
Resposta contém atributo presença "produtos" 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg4LCJleHAiOjE2NjIzMDAxODh9.urt7j138bcTDjaH5j1jQXLgkFpGGlYt8rdXup5e_ai8
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token de467e09-d6a4-4522-bd42-02f422c040e0
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id a6d6295f-ecb2-41dc-9650-788f6d540efb
Content-Type application/json; charset=utf-8
Content-Length 46
Date Sun, 04 Sep 2022 13:53:08 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 3 0 0
Resposta status code OK 3 0 0
PUT com sucesso 3 0 0
O tempo de resposta é menor 200ms 3 0 0
Resposta contém atributo presença "message" 3 0 0
Mensagem correta retornada, valida atributo de Conteúdo 3 0 0
Mensagem "Registro alterado com sucesso" é exibida 3 0 0
Access-Control-Allow-Origin header is * 3 0 0
x-dns-prefetch-control header is off 3 0 0
x-frame-options is SAMEORIGIN 3 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 3 0 0
x-download-options header is noopen 3 0 0
x-content-type-options header is nosniff 3 0 0
x-xss-protection header is 1; mode=block 3 0 0
x-moesif-transaction-id header is present 3 0 0
Content-Type header is application/json; charset=utf-8 3 0 0
Content-Length header is present 3 0 0
Date header is present 3 0 0
Connection header is keep-alive 3 0 0
keep-alive header is timeout=5 3 0 0
Já exclui o produto, caso tenha cadastrado! 3 0 0
Total 63 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/be3F4HkKJSFHzKYA
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg4LCJleHAiOjE2NjIzMDAxODh9.urt7j138bcTDjaH5j1jQXLgkFpGGlYt8rdXup5e_ai8
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token c37eafe3-b120-42da-8363-1670f8ea1ef1
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 79c1d2eb-c167-4e2b-a483-7d9922dc1dbe
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:08 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, foi excluído 2 0 0
Resposta status code OK 2 0 0
DELETE com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo Presença "message" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Registro excluído com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 201 - Created
Mean time per request: 4ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg4LCJleHAiOjE2NjIzMDAxODh9.urt7j138bcTDjaH5j1jQXLgkFpGGlYt8rdXup5e_ai8
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 8ecf8f7e-2576-436f-9c60-15b9f3b9aa41
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 115
Request Body
{
          "produtos": [
            {
              "idProduto": "K6leHdftCeOJj8BJ",
              "quantidade": 3
            }
          ]}
                    
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 1e2504bf-4881-4cd5-a180-2cbaddb752d5
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 04 Sep 2022 13:53:08 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "C9jxYD71APMtoMkr"
        }
Test Information
NamePassedFailedSkipped
Status: 201, OK, carrinhos cadastrado 2 0 0
Resposta status code Created 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "_id" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 2 0 0
Envia id para variável de ambiente. 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 975B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg4LCJleHAiOjE2NjIzMDAxODh9.urt7j138bcTDjaH5j1jQXLgkFpGGlYt8rdXup5e_ai8
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 391e02d1-3d78-4190-8ed7-33fffc27e6ec
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 8553bf8a-290d-42db-b40d-e9a655001626
Content-Type application/json; charset=utf-8
Content-Length 975
Date Sun, 04 Sep 2022 13:53:08 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 2,
            "carrinhos": [
                {
                    "produtos": [
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 3,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 15720,
                    "quantidadeTotal": 3,
                    "idUsuario": "cbnW9qchtXdR6PTg",
                    "_id": "C9jxYD71APMtoMkr"
                },
                {
                    "produtos": [
                        {
                            "idProduto": "BeeJh5lz3k6kSIzA",
                            "quantidade": 2,
                            "precoUnitario": 470
                        },
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 1,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 6180,
                    "quantidadeTotal": 3,
                    "idUsuario": "oUb7aGkMtSEPf6BZ",
                    "_id": "qbMqntef4iTOwWfg"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, carrinhos listados 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "quantidade" 2 0 0
Resposta contém atributo "carrinhos" 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos/qbMqntef4iTOwWfg
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 401B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg4LCJleHAiOjE2NjIzMDAxODh9.urt7j138bcTDjaH5j1jQXLgkFpGGlYt8rdXup5e_ai8
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 0185acb0-4dfc-4c47-9018-e12c07eaa7ed
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 80032f45-779c-4ed3-b6dc-d71d83b67b5e
Content-Type application/json; charset=utf-8
Content-Length 401
Date Sun, 04 Sep 2022 13:53:08 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "produtos": [
                {
                    "idProduto": "BeeJh5lz3k6kSIzA",
                    "quantidade": 2,
                    "precoUnitario": 470
                },
                {
                    "idProduto": "K6leHdftCeOJj8BJ",
                    "quantidade": 1,
                    "precoUnitario": 5240
                }
            ],
            "precoTotal": 6180,
            "quantidadeTotal": 3,
            "idUsuario": "oUb7aGkMtSEPf6BZ",
            "_id": "qbMqntef4iTOwWfg"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, carrinho buscado 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "produtos" 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 36 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/concluir-compra
Response Information
Response Code: 200 - OK
Mean time per request: 11ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg4LCJleHAiOjE2NjIzMDAxODh9.urt7j138bcTDjaH5j1jQXLgkFpGGlYt8rdXup5e_ai8
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 77943c88-366a-4f3b-9617-7fcf74a216b2
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id e0fecca5-5d13-4ea8-a057-e791f734b371
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:08 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, compra concluída e carrinho excluído 2 0 0
Resposta status code OK 2 0 0
DELETE com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Registro excluído com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 201 - Created
Mean time per request: 4ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg4LCJleHAiOjE2NjIzMDAxODh9.urt7j138bcTDjaH5j1jQXLgkFpGGlYt8rdXup5e_ai8
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token a986b3fe-749c-4142-b3c3-a1d47fa24f5a
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 115
Request Body
{
          "produtos": [
            {
              "idProduto": "K6leHdftCeOJj8BJ",
              "quantidade": 3
            }
          ]}
                    
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id d7aec8f3-b2c6-4a77-b956-2cc3a7ea53a2
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 04 Sep 2022 13:53:08 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "Zw0kkwqXROzJVFFa"
        }
Test Information
NamePassedFailedSkipped
Status: 201, OK, carrinhos cadastrado 2 0 0
Resposta status code Created 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "_id" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Envia id para variável de ambiente. 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 975B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg4LCJleHAiOjE2NjIzMDAxODh9.urt7j138bcTDjaH5j1jQXLgkFpGGlYt8rdXup5e_ai8
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 004bcf0e-55bd-459a-b2fe-581dbf8b0dce
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 8ddda19a-a2eb-4dad-bc11-dd70853d192e
Content-Type application/json; charset=utf-8
Content-Length 975
Date Sun, 04 Sep 2022 13:53:08 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 2,
            "carrinhos": [
                {
                    "produtos": [
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 3,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 15720,
                    "quantidadeTotal": 3,
                    "idUsuario": "cbnW9qchtXdR6PTg",
                    "_id": "Zw0kkwqXROzJVFFa"
                },
                {
                    "produtos": [
                        {
                            "idProduto": "BeeJh5lz3k6kSIzA",
                            "quantidade": 2,
                            "precoUnitario": 470
                        },
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 1,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 6180,
                    "quantidadeTotal": 3,
                    "idUsuario": "oUb7aGkMtSEPf6BZ",
                    "_id": "qbMqntef4iTOwWfg"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, carrinhos listados 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "quantidade" 2 0 0
Resposta contém atributo "carrinhos" 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos/qbMqntef4iTOwWfg
Response Information
Response Code: 200 - OK
Mean time per request: 6ms
Mean size per request: 401B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg5LCJleHAiOjE2NjIzMDAxODl9.uClNi8XVGkolviZcpCTV6NdnMoW2W2r7J_Srnklllvg
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token f6966c4c-87db-418d-adc4-98dadcb92bdf
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id b6853119-a10c-48db-9f1b-bd6f36c368cd
Content-Type application/json; charset=utf-8
Content-Length 401
Date Sun, 04 Sep 2022 13:53:09 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "produtos": [
                {
                    "idProduto": "BeeJh5lz3k6kSIzA",
                    "quantidade": 2,
                    "precoUnitario": 470
                },
                {
                    "idProduto": "K6leHdftCeOJj8BJ",
                    "quantidade": 1,
                    "precoUnitario": 5240
                }
            ],
            "precoTotal": 6180,
            "quantidadeTotal": 3,
            "idUsuario": "oUb7aGkMtSEPf6BZ",
            "_id": "qbMqntef4iTOwWfg"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, carrinho buscado 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "produtos" 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 36 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/cancelar-compra
Response Information
Response Code: 200 - OK
Mean time per request: 6ms
Mean size per request: 86B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTg5LCJleHAiOjE2NjIzMDAxODl9.uClNi8XVGkolviZcpCTV6NdnMoW2W2r7J_Srnklllvg
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 2d9e830e-418e-4673-b9ae-38cdba23633e
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 343b60f6-83b1-4160-9425-28786c4ed9c9
Content-Type application/json; charset=utf-8
Content-Length 86
Date Sun, 04 Sep 2022 13:53:09 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso. Estoque dos produtos reabastecido"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, compra concluída e carrinho excluído 2 0 0
Resposta status code OK 2 0 0
DELETE com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Registro excluído com sucesso. Estoque dos produtos reabastecido" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 269B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token ceb7ba4b-5de9-48eb-963a-a7efa725ea13
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 59
Request Body
{
          "email": "master@qa.com.br",
          "password": "senha"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 8b4dabb3-3a1f-4f09-b4d9-01ce6b86610a
Content-Type application/json; charset=utf-8
Content-Length 269
Date Sun, 04 Sep 2022 13:53:09 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1hc3RlckBxYS5jb20uYnIiLCJwYXNzd29yZCI6InNlbmhhIiwiaWF0IjoxNjYyMjk5NTg5LCJleHAiOjE2NjIzMDAxODl9.8igO4I6hTFUIvjVGnjYe0GmNwotSqABrFc_akhEnnyo"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "authorization" 2 0 0
Mensagem correta retornada 2 0 0
Mensagem "Login realizado com sucesso" é exibida 2 0 0
Envia authorization para variável de ambiente. 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 201 - Created
Mean time per request: 6ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1hc3RlckBxYS5jb20uYnIiLCJwYXNzd29yZCI6InNlbmhhIiwiaWF0IjoxNjYyMjk5NTg5LCJleHAiOjE2NjIzMDAxODl9.8igO4I6hTFUIvjVGnjYe0GmNwotSqABrFc_akhEnnyo
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 7ce8195a-14bf-458f-8eef-7ec041047c60
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 102
Request Body
  {
          "produtos": [
            {
              "idProduto":"4oOLTpRw0vFGEbz2",
              "quantidade": 6
            }
          ]}
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 7acce627-05c1-4e8e-93bd-025051f103ec
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 04 Sep 2022 13:53:09 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "JrBHNMFdbKMKzrKT"
        }
Test Information
NamePassedFailedSkipped
Status: 201, OK, carrinhos cadastrado 2 0 0
Resposta status code Created 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "_id" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Envia id para variável de ambiente. 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/concluir-compra
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1hc3RlckBxYS5jb20uYnIiLCJwYXNzd29yZCI6InNlbmhhIiwiaWF0IjoxNjYyMjk5NTg5LCJleHAiOjE2NjIzMDAxODl9.8igO4I6hTFUIvjVGnjYe0GmNwotSqABrFc_akhEnnyo
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 69956ea3-2d1c-45f6-8601-b03ea6e9601d
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 84c6ef97-de8b-4f21-91f5-48620ad9149e
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:09 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, compra concluída e carrinho excluído 2 0 0
Resposta status code OK 2 0 0
DELETE com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Registro excluído com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 271B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 63a67b40-6abb-47a6-b0ec-051e0279a538
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 60
Request Body
{
          "email": "ciclano@qa.com.br",
          "password": "fluxo"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id d4e03943-7b58-4d88-a762-3bbad4d82dd2
Content-Type application/json; charset=utf-8
Content-Length 271
Date Sun, 04 Sep 2022 13:53:09 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImNpY2xhbm9AcWEuY29tLmJyIiwicGFzc3dvcmQiOiJmbHV4byIsImlhdCI6MTY2MjI5OTU4OSwiZXhwIjoxNjYyMzAwMTg5fQ.UQmIUNyE6jMj3izkCqCSx23JrUkh4bYkl0b29ZtPLAU"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "authorization" 2 0 0
Envia authorization para variável de ambiente. 2 0 0
Mensagem correta retornada 2 0 0
Mensagem "Login realizado com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 201 - Created
Mean time per request: 6ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImNpY2xhbm9AcWEuY29tLmJyIiwicGFzc3dvcmQiOiJmbHV4byIsImlhdCI6MTY2MjI5OTU4OSwiZXhwIjoxNjYyMzAwMTg5fQ.UQmIUNyE6jMj3izkCqCSx23JrUkh4bYkl0b29ZtPLAU
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 2d435d11-01d5-46bd-b37a-a3a28a6964e8
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 105
Request Body
  {
          "produtos": [
            {
              "idProduto": "52lftwUqjcnkGKyV",
              "quantidade": 6
            }
          ]}
        
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 2dbd8eb8-de14-4b9f-9dc3-8e89dbea8578
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 04 Sep 2022 13:53:09 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "dclAFOmupGirMKzO"
        }
Test Information
NamePassedFailedSkipped
Status: 201, OK, carrinhos cadastrado 2 0 0
Resposta status code Created 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "_id" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 2 0 0
Envia id para variável de ambiente. 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/cancelar-compra
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 86B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImNpY2xhbm9AcWEuY29tLmJyIiwicGFzc3dvcmQiOiJmbHV4byIsImlhdCI6MTY2MjI5OTU4OSwiZXhwIjoxNjYyMzAwMTg5fQ.UQmIUNyE6jMj3izkCqCSx23JrUkh4bYkl0b29ZtPLAU
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token ecdfbff7-87df-41b8-a825-ae286228968d
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 8f3cdad3-2dd4-4309-80fc-26114f4bedd1
Content-Type application/json; charset=utf-8
Content-Length 86
Date Sun, 04 Sep 2022 13:53:09 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso. Estoque dos produtos reabastecido"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, compra concluída e carrinho excluído 2 0 0
Resposta status code OK 2 0 0
DELETE com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Registro excluído com sucesso. Estoque dos produtos reabastecido" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 400 - Bad Request
Mean time per request: 4ms
Mean size per request: 50B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 705d0c36-141a-4e8e-9c7b-8c46897ca346
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 43
Request Body
{
          "email": "",
          "password": "teste"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 6f5c8a45-b6ca-4aa7-8d74-df54b3559752
Content-Type application/json; charset=utf-8
Content-Length 50
Date Sun, 04 Sep 2022 13:53:09 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "email": "email não pode ficar em branco"
        }
Test Information
NamePassedFailedSkipped
Status: 400, bad request 1 0 0
Resposta status code Bad Request 1 0 0
POST sem sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo "email" 1 0 0
Mensagem retornada 1 0 0
Mensagem "email não pode ficar em branco" é exibida 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 400 - Bad Request
Mean time per request: 4ms
Mean size per request: 50B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token e11349ce-64c5-406a-b561-486353c47ca2
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 58
Request Body
{
          "email": "masterqa.com.br",
          "password": "senha"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 3decc6a0-a2aa-4af5-85af-e86dd4bf8e54
Content-Type application/json; charset=utf-8
Content-Length 50
Date Sun, 04 Sep 2022 13:53:09 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "email": "email deve ser um email válido"
        }
Test Information
NamePassedFailedSkipped
Status: 400, bad request 1 0 0
Resposta status code Bad Request 1 0 0
POST sem sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo "email" 1 0 0
Mensagem incorreta retornada 1 0 0
Mensagem "email deve ser um email válido" é exibida 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 401 - Unauthorized
Mean time per request: 3ms
Mean size per request: 48B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 88bb2048-4f14-46e1-a7bd-ffa563b1df7b
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 58
Request Body
{
          "email": "tamara@qa.com.br",
          "password": "test"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 8794c701-cece-47ff-8d74-c422dbc10cde
Content-Type application/json; charset=utf-8
Content-Length 48
Date Sun, 04 Sep 2022 13:53:09 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Email e/ou senha inválidos"
        }
Test Information
NamePassedFailedSkipped
Status: 401,Unauthorized 1 0 0
Resposta status code Unauthorized 1 0 0
POST sem sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo "email" 1 0 0
Mensagem incorreta retornada 1 0 0
Mensagem "Email e/ou senha inválidos" é exibida 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/cbnW9qchtXdR6P
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 45B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token d002d7d4-7f6c-4208-b743-bfc172f2f895
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 099a7a91-4744-4f2c-a30a-2c305ad216a4
Content-Type application/json; charset=utf-8
Content-Length 45
Date Sun, 04 Sep 2022 13:53:10 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Usuário não encontrado"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Resposta status code Bad Request 2 0 0
GET sem sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença 'message' 2 0 0
Mensagem "Usuário não encontrado" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/usuarios
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 53B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 051bb990-994e-40a5-b7cf-aeab940d48ad
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 108
Request Body
{
          "nome": "tamara",
          "email": "tamara@qa.com.br",
          "password": "teste",
          "administrador": "true"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 55c356d0-034f-4a13-8a22-b8eed2222e01
Content-Type application/json; charset=utf-8
Content-Length 53
Date Sun, 04 Sep 2022 13:53:10 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Este email já está sendo usado"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Resposta status code Bad Request 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "message" 2 0 0
Mensagem incorreta retornada, valida atributo de Conteúdo 2 0 0
Mensagem "Este email já está sendo usado" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:3000/usuarios/%7B%7BidUalt%7D%7D
Response Information
Response Code: 400 - Bad Request
Mean time per request: 4ms
Mean size per request: 67B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token cdb53c7b-e160-43b4-afcd-7257765d820f
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 120
Request Body
{
          "nome": "Waino.Murray",
          "email": "Ryder_Murphy92@hotmail.com",
          "password": "teste",
          "administrador": ""
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 1385eae4-c0f4-4834-925f-ad3bc3015569
Content-Type application/json; charset=utf-8
Content-Length 67
Date Sun, 04 Sep 2022 13:53:10 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "administrador": "administrador deve ser 'true' ou 'false'"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Resposta status code Bad Request 2 0 0
PUT sem sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "administrador" 2 0 0
Mensagem "administrador deve ser 'true' ou 'false'" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/oUb7aGkMtSEPf6BZ
Response Information
Response Code: 400 - Bad Request
Mean time per request: 2ms
Mean size per request: 117B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 39f89dcc-f830-444e-bffc-47f78d9e06ed
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 6d29f3d6-376d-4dc0-8af7-07090cdf494b
Content-Type application/json; charset=utf-8
Content-Length 117
Date Sun, 04 Sep 2022 13:53:10 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Não é permitido excluir usuário com carrinho cadastrado",
            "idCarrinho": "qbMqntef4iTOwWfg"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 1 0 0
Resposta status code Bad Request 1 0 0
DELETE sem sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo presença "message" 1 0 0
Resposta contém atributo presença "idCarrinho" 1 0 0
Mensagem retornada, valida atributo de conteúdo 1 0 0
Mensagem "Não é permitido excluir usuário com carrinho cadastrado" é exibida 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 21 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos/d0BtZveBWmm6JzX
Response Information
Response Code: 400 - Bad Request
Mean time per request: 7ms
Mean size per request: 44B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 23f2c09c-7f7e-4bcc-aa65-499e8599f88d
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 8e2022b3-6da0-4f94-ae77-a1739613c18a
Content-Type application/json; charset=utf-8
Content-Length 44
Date Sun, 04 Sep 2022 13:53:10 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Produto não encontrado"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 1 0 0
Resposta status code Bad Request 1 0 0
GET sem sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo "message" 1 0 0
Mensagem "Produto não encontrado" é exibida 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 19 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:3000/produtos/BeeJh5lz3k6kSIzA
Response Information
Response Code: 400 - Bad Request
Mean time per request: 7ms
Mean size per request: 48B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTkwLCJleHAiOjE2NjIzMDAxOTB9.QDhbR9hiCP9Wn3tzNT1DUO_gYRi47VPllooB8fpOuVo
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 087c974a-8c0f-46fc-b329-d19ebec6872f
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 82
Request Body
{
          "nome": "",
          "preco": 470,
          "descricao": "Mouse",
          "quantidade": 382
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 425fb2a8-7067-4e95-97fe-4768098fe5ab
Content-Type application/json; charset=utf-8
Content-Length 48
Date Sun, 04 Sep 2022 13:53:10 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "nome": "nome não pode ficar em branco"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Resposta status code Bad Request 2 0 0
PUT sem sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "nome" 2 0 0
Mensagem retornada 2 0 0
Mensagem "nome não pode ficar em branco" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/BeeJh5lz3k6kSIzA
Response Information
Response Code: 400 - Bad Request
Mean time per request: 8ms
Mean size per request: 135B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTkwLCJleHAiOjE2NjIzMDAxOTB9.QDhbR9hiCP9Wn3tzNT1DUO_gYRi47VPllooB8fpOuVo
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 26d1c714-8cfb-4d79-8376-0d9ba7c20b1d
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 894c12ad-efac-4963-905e-c7aaab5ef46c
Content-Type application/json; charset=utf-8
Content-Length 135
Date Sun, 04 Sep 2022 13:53:10 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Não é permitido excluir produto que faz parte de carrinho",
            "idCarrinhos": [
                "qbMqntef4iTOwWfg"
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Resposta status code Bad Request 2 0 0
DELETE sem sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "message" 2 0 0
Resposta contém atributo presença "idCarrinhos" 2 0 0
Mensagem retornada, valida atributo de conteúdo 2 0 0
Mensagem "Não é permitido excluir produto que faz parte de carrinho" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 42 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/Adzhase2pOxw9BLK
Response Information
Response Code: 200 - OK
Mean time per request: 10ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 5bcd31d0-df8f-4582-909f-847658b03bca
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 5de7c43e-a250-44ee-833d-9f728cf3478d
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:10 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 3 0 0
Resposta status code Created 3 0 0
POST com sucesso 3 0 0
O tempo de resposta é menor 200ms 3 0 0
Resposta contém atributo presença "message" 3 0 0
Resposta contém atributo presença "_id" 3 0 0
Mensagem correta retornada, valida atributo de Conteúdo 3 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 3 0 0
Access-Control-Allow-Origin header is * 3 0 0
x-dns-prefetch-control header is off 3 0 0
x-frame-options is SAMEORIGIN 3 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 3 0 0
x-download-options header is noopen 3 0 0
x-content-type-options header is nosniff 3 0 0
x-xss-protection header is 1; mode=block 3 0 0
x-moesif-transaction-id header is present 3 0 0
Content-Type header is application/json; charset=utf-8 3 0 0
Content-Length header is present 3 0 0
Date header is present 3 0 0
Connection header is keep-alive 3 0 0
keep-alive header is timeout=5 3 0 0
Já exclui o usuario 3 0 0
Total 66 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/ArsyMMUW5CzAO0jp
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 4530308e-61d6-4d0c-aec2-858b65de85ea
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 0ad12e68-d61b-40e0-a95c-0f18b3fb06e1
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:10 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 3 0 0
Resposta status code Created 3 0 0
POST com sucesso 3 0 0
O tempo de resposta é menor 200ms 3 0 0
Resposta contém atributo presença "message" 3 0 0
Resposta contém atributo presença "_id" 3 0 0
Mensagem correta retornada, valida atributo de Conteúdo 3 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 3 0 0
Access-Control-Allow-Origin header is * 3 0 0
x-dns-prefetch-control header is off 3 0 0
x-frame-options is SAMEORIGIN 3 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 3 0 0
x-download-options header is noopen 3 0 0
x-content-type-options header is nosniff 3 0 0
x-xss-protection header is 1; mode=block 3 0 0
x-moesif-transaction-id header is present 3 0 0
Content-Type header is application/json; charset=utf-8 3 0 0
Content-Length header is present 3 0 0
Date header is present 3 0 0
Connection header is keep-alive 3 0 0
keep-alive header is timeout=5 3 0 0
Já exclui o usuario 3 0 0
Total 66 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos/
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 822B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token af6f8a92-e505-48d6-8af6-5e82fbcecf6a
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 5b87e0da-9f9d-44ef-ac01-4ed0fef0aa0e
Content-Type application/json; charset=utf-8
Content-Length 822
Date Sun, 04 Sep 2022 13:53:10 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 4,
            "produtos": [
                {
                    "nome": "Blaze34",
                    "preco": 40,
                    "descricao": "{{randomDescribe}}",
                    "quantidade": 238,
                    "_id": "4oOLTpRw0vFGEbz2"
                },
                {
                    "nome": "Generic Wooden Table",
                    "preco": 50,
                    "descricao": "Rubber",
                    "quantidade": 255,
                    "_id": "52lftwUqjcnkGKyV"
                },
                {
                    "nome": "Logitech MX Vertical",
                    "preco": 470,
                    "descricao": "Mouse",
                    "quantidade": 382,
                    "_id": "BeeJh5lz3k6kSIzA"
                },
                {
                    "nome": "Samsung 60 polegadas",
                    "preco": 5240,
                    "descricao": "TV",
                    "quantidade": 49452,
                    "_id": "K6leHdftCeOJj8BJ"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Resposta status code OK 1 0 0
GET com sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo "quantidade" 1 0 0
Resposta contém atributo "produtos" 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 19 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 651B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token e2e8199f-45df-4ada-9b88-345f015255ac
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id c0dd6de1-bca3-4dbb-bdf2-70cb1ee188f0
Content-Type application/json; charset=utf-8
Content-Length 651
Date Sun, 04 Sep 2022 13:53:11 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 3,
            "usuarios": [
                {
                    "nome": "S.Master",
                    "email": "master@qa.com.br",
                    "password": "senha",
                    "administrador": "true",
                    "_id": "E3WQPxwjuCx3HBHA"
                },
                {
                    "nome": "Tamara",
                    "email": "tamara@qa.com.br",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "cbnW9qchtXdR6PTg"
                },
                {
                    "nome": "ciclano",
                    "email": "ciclano@qa.com.br",
                    "password": "fluxo",
                    "administrador": "true",
                    "_id": "oBCioHZC7a0O1CK9"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença 'quantidade' 2 0 0
Resposta contém atributo presença 'usuarios' 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 595B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 31bbcd1f-46eb-4438-8b47-aba7656116cd
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 57932df8-1dfa-4ba7-817a-acaa201306ad
Content-Type application/json; charset=utf-8
Content-Length 595
Date Sun, 04 Sep 2022 13:53:11 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 1,
            "carrinhos": [
                {
                    "produtos": [
                        {
                            "idProduto": "BeeJh5lz3k6kSIzA",
                            "quantidade": 2,
                            "precoUnitario": 470
                        },
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 1,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 6180,
                    "quantidadeTotal": 3,
                    "idUsuario": "oUb7aGkMtSEPf6BZ",
                    "_id": "qbMqntef4iTOwWfg"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, carrinho buscado 1 0 0
Resposta status code OK 1 0 0
GET com sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo presença "quantidade" 1 0 0
Resposta contém atributo presença "carrinhos" 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 19 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/kNhbukeDr9D75lcs
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTkxLCJleHAiOjE2NjIzMDAxOTF9.R5LzDoSs1cKdt4gh48fUzWTWSFR0iA9q91sD_3u79j4
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token e0db4cdb-6b2e-463b-bad3-8f68d78ac288
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id b64fba18-9490-410f-ab0b-92013d8362d1
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:11 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 3 0 0
Resposta status code Created 3 0 0
POST com sucesso 3 0 0
O tempo de resposta é menor 200ms 3 0 0
Resposta contém atributo presença "message" 3 0 0
Resposta contém atributo presença "_id" 3 0 0
Mensagem correta retornada, valida atributo de Conteúdo 3 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 3 0 0
Access-Control-Allow-Origin header is * 3 0 0
x-dns-prefetch-control header is off 3 0 0
x-frame-options is SAMEORIGIN 3 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 3 0 0
x-download-options header is noopen 3 0 0
x-content-type-options header is nosniff 3 0 0
x-xss-protection header is 1; mode=block 3 0 0
x-moesif-transaction-id header is present 3 0 0
Content-Type header is application/json; charset=utf-8 3 0 0
Content-Length header is present 3 0 0
Date header is present 3 0 0
Connection header is keep-alive 3 0 0
keep-alive header is timeout=5 3 0 0
Excluir produto 3 0 0
Total 66 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:3000/produtos/BeeJh5lz3k6kSIzA
Response Information
Response Code: 401 - Unauthorized
Mean time per request: 3ms
Mean size per request: 103B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 3096539c-a5f4-497e-aab6-7559ee5a6bf3
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 82
Request Body
{
          "nome": "",
          "preco": 470,
          "descricao": "Mouse",
          "quantidade": 382
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id b00138fb-6ef2-456b-a851-d1fd8e68c3a8
Content-Type application/json; charset=utf-8
Content-Length 103
Date Sun, 04 Sep 2022 13:53:11 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Token de acesso ausente, inválido, expirado ou usuário do token não existe mais"
        }
Test Information
NamePassedFailedSkipped
Status code is 401 2 0 0
Resposta status code Unauthorized 2 0 0
PUT sem sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Mensagem retornada 2 0 0
Mensagem "Token de acesso ausente, inválido, expirado ou usuário do token não existe mais" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 269B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTkxLCJleHAiOjE2NjIzMDAxOTF9.R5LzDoSs1cKdt4gh48fUzWTWSFR0iA9q91sD_3u79j4
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 3e2eb89b-163e-40da-a887-50ec6cbbe370
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 61
Request Body
{
          "email": "tamara@qa.com.br",
          "password": "teste"
        }
        
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id f19c1a21-aa7e-43ec-a375-278308a8321b
Content-Type application/json; charset=utf-8
Content-Length 269
Date Sun, 04 Sep 2022 13:53:11 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTkxLCJleHAiOjE2NjIzMDAxOTF9.R5LzDoSs1cKdt4gh48fUzWTWSFR0iA9q91sD_3u79j4"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "authorization" 2 0 0
Envia authorization para variável de ambiente. 2 0 0
Mensagem correta retornada 2 0 0
Mensagem "Login realizado com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/vXo3UtrHBUi52aRW
Response Information
Response Code: 400 - Bad Request
Mean time per request: 7ms
Mean size per request: 45B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token b659ee7b-8e45-4fc1-9ff4-8fdc2602dd71
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 97260a81-0240-404c-87c3-b87fd458529a
Content-Type application/json; charset=utf-8
Content-Length 45
Date Sun, 04 Sep 2022 13:53:11 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Usuário não encontrado"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 4 0 0
Resposta status code Created 4 0 0
POST com sucesso 4 0 0
O tempo de resposta é menor 200ms 4 0 0
Resposta contém atributo presença message 4 0 0
Resposta contém atributo presença _id 4 0 0
Mensagem correta retornada 4 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 4 0 0
Access-Control-Allow-Origin header is * 4 0 0
x-dns-prefetch-control header is off 4 0 0
x-frame-options is SAMEORIGIN 4 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 4 0 0
x-download-options header is noopen 4 0 0
x-content-type-options header is nosniff 4 0 0
x-xss-protection header is 1; mode=block 4 0 0
x-moesif-transaction-id header is present 4 0 0
Content-Type header is application/json; charset=utf-8 4 0 0
Content-Length header is present 4 0 0
Date header is present 4 0 0
Connection header is keep-alive 4 0 0
keep-alive header is timeout=5 4 0 0
Já exclui o usuario 4 0 0
busca o usuario que acabou de ser deletado 4 0 0
Total 92 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/McZ9GUw0RHy2z3zo
Response Information
Response Code: 400 - Bad Request
Mean time per request: 5ms
Mean size per request: 45B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token c116fd48-c004-4e15-a226-b6d8b0e8a026
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 68412088-1387-47df-9825-a53d65b2b1cb
Content-Type application/json; charset=utf-8
Content-Length 45
Date Sun, 04 Sep 2022 13:53:11 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Usuário não encontrado"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 4 0 0
Resposta status code Created 4 0 0
PUT com sucesso 4 0 0
O tempo de resposta é menor 200ms 4 0 0
Resposta contém atributo "message" 4 0 0
Resposta contém atributo "_id" 4 0 0
Mensagem correta retornada 4 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 4 0 0
Access-Control-Allow-Origin header is * 4 0 0
x-dns-prefetch-control header is off 4 0 0
x-frame-options is SAMEORIGIN 4 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 4 0 0
x-download-options header is noopen 4 0 0
x-content-type-options header is nosniff 4 0 0
x-xss-protection header is 1; mode=block 4 0 0
x-moesif-transaction-id header is present 4 0 0
Content-Type header is application/json; charset=utf-8 4 0 0
Content-Length header is present 4 0 0
Date header is present 4 0 0
Connection header is keep-alive 4 0 0
keep-alive header is timeout=5 4 0 0
Já exclui o usuario 4 0 0
busca o usuario que acabou de ser deletado 4 0 0
Total 92 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/usuarios
Response Information
Response Code: 201 - Created
Mean time per request: 4ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 8867e91b-c13b-4898-b462-b600ff5d1195
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 130
Request Body
{
          "nome": "Ludwig.McLaughlin78",
          "email": "Beaulah.DuBuque@gmail.com",
          "password": "teste",
          "administrador": "true"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id c22e261f-5e4f-400d-8cf8-3a2f4db2b5c5
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 04 Sep 2022 13:53:11 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "aBdwEappkwdcckdw"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
POST com sucesso 2 0 0
Resposta status code Created 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "message" 2 0 0
Resposta contém atributo presença "_id" 2 0 0
Mensagem correta retornada, valida atributo de Conteúdo 2 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Envia id para variável de ambiente. 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/aBdwEappkwdcckdw
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 164B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 8457e895-9848-4cd7-b41a-dbb55bc21e54
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 45aaebf1-80de-44f7-a301-8c5df17128e5
Content-Type application/json; charset=utf-8
Content-Length 164
Date Sun, 04 Sep 2022 13:53:11 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "nome": "Ludwig.McLaughlin78",
            "email": "Beaulah.DuBuque@gmail.com",
            "password": "teste",
            "administrador": "true",
            "_id": "aBdwEappkwdcckdw"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença 'nome' 2 0 0
Resposta contém atributo presença 'email' 2 0 0
Resposta contém atributo presença 'password' 2 0 0
Resposta contém atributo presença 'administrador' 2 0 0
Resposta contém atributo presença '_id' 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 873B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token c6a49a6c-908a-440a-98da-fbdc67f33afc
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id e48e7ec5-ca7c-4fea-997f-3dc4b045bd4a
Content-Type application/json; charset=utf-8
Content-Length 873
Date Sun, 04 Sep 2022 13:53:11 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 4,
            "usuarios": [
                {
                    "nome": "S.Master",
                    "email": "master@qa.com.br",
                    "password": "senha",
                    "administrador": "true",
                    "_id": "E3WQPxwjuCx3HBHA"
                },
                {
                    "nome": "Ludwig.McLaughlin78",
                    "email": "Beaulah.DuBuque@gmail.com",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "aBdwEappkwdcckdw"
                },
                {
                    "nome": "Tamara",
                    "email": "tamara@qa.com.br",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "cbnW9qchtXdR6PTg"
                },
                {
                    "nome": "ciclano",
                    "email": "ciclano@qa.com.br",
                    "password": "fluxo",
                    "administrador": "true",
                    "_id": "oBCioHZC7a0O1CK9"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, usuário listado 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença 'quantidade' 2 0 0
Resposta contém atributo presença 'usuarios' 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 0a800cd1-bec6-4345-8ce9-acedc0ac02e8
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 21779b3e-45f1-41d9-a700-485833dbd034
Content-Type application/json; charset=utf-8
Content-Length 46
Date Sun, 04 Sep 2022 13:53:12 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 3 0 0
Resposta status code OK 3 0 0
PUT com sucesso 3 0 0
O tempo de resposta é menor 200ms 3 0 0
Resposta contém atributo presença "message" 3 0 0
Mensagem correta retornada 3 0 0
Mensagem "Registro alterado com sucesso" é exibida 3 0 0
Access-Control-Allow-Origin header is * 3 0 0
x-dns-prefetch-control header is off 3 0 0
x-frame-options is SAMEORIGIN 3 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 3 0 0
x-download-options header is noopen 3 0 0
x-content-type-options header is nosniff 3 0 0
x-xss-protection header is 1; mode=block 3 0 0
x-moesif-transaction-id header is present 3 0 0
Content-Type header is application/json; charset=utf-8 3 0 0
Content-Length header is present 3 0 0
Date header is present 3 0 0
Connection header is keep-alive 3 0 0
keep-alive header is timeout=5 3 0 0
Já exclui o usuario, caso seja cadastrado! 3 0 0
Total 63 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/aBdwEappkwdcckdw
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 32c429db-449e-4967-a60a-373fccb44d4b
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 5bd1c1f0-1666-4c75-90f1-55fc5aa46cb0
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:12 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
DELETE com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "message" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Registro excluído com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/b8J5Bp1z3JbwEgzF
Response Information
Response Code: 200 - OK
Mean time per request: 9ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTkyLCJleHAiOjE2NjIzMDAxOTJ9.JUb0cEHRhr0uONC9k8dQQzCnxTmQe2yuTHrWzgKrqzg
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 5f4c5a01-b49d-4e50-a59d-9a66ab304dae
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id eae9f603-b552-48cc-a66b-d29168795ca6
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:12 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 4 0 0
Resposta status code Created 4 0 0
POST com sucesso 4 0 0
O tempo de resposta é menor 200ms 4 0 0
Resposta contém atributo presença "message" 4 0 0
Resposta contém atributo presença "_id" 4 0 0
Mensagem correta retornada, valida atributo de Conteúdo 4 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 4 0 0
Access-Control-Allow-Origin header is * 4 0 0
x-dns-prefetch-control header is off 4 0 0
x-frame-options is SAMEORIGIN 4 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 4 0 0
x-download-options header is noopen 4 0 0
x-content-type-options header is nosniff 4 0 0
x-xss-protection header is 1; mode=block 4 0 0
x-moesif-transaction-id header is present 4 0 0
Content-Type header is application/json; charset=utf-8 4 0 0
Content-Length header is present 4 0 0
Date header is present 4 0 0
Connection header is keep-alive 4 0 0
keep-alive header is timeout=5 4 0 0
Excluir produto 4 0 0
busca o produto que acabou de ser deletado 4 0 0
Total 92 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/Y0UwKNVoRlDmAWr3
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTkyLCJleHAiOjE2NjIzMDAxOTJ9.JUb0cEHRhr0uONC9k8dQQzCnxTmQe2yuTHrWzgKrqzg
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token bd745bfa-8f7b-4205-be77-643f32f6ca97
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 45a35269-1a60-4a9d-a006-c5e134403a4d
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:12 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 4 0 0
Resposta status code Created 4 0 0
Resposta contém atributo "message" 4 0 0
Resposta contém atributo "_id" 4 0 0
Mensagem correta retornada 4 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 4 0 0
Access-Control-Allow-Origin header is * 4 0 0
x-dns-prefetch-control header is off 4 0 0
x-frame-options is SAMEORIGIN 4 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 4 0 0
x-download-options header is noopen 4 0 0
x-content-type-options header is nosniff 4 0 0
x-xss-protection header is 1; mode=block 4 0 0
x-moesif-transaction-id header is present 4 0 0
Content-Type header is application/json; charset=utf-8 4 0 0
Content-Length header is present 4 0 0
Date header is present 4 0 0
Connection header is keep-alive 4 0 0
keep-alive header is timeout=5 4 0 0
Excluir produto 4 0 0
busca o produto que acabou de ser deletado 4 0 0
Total 84 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/produtos
Response Information
Response Code: 201 - Created
Mean time per request: 5ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTkyLCJleHAiOjE2NjIzMDAxOTJ9.JUb0cEHRhr0uONC9k8dQQzCnxTmQe2yuTHrWzgKrqzg
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 682e728c-1004-4ee2-9c0d-bdbbbca08d3b
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 104
Request Body
{
          "nome": "Small Plastic Fish",
          "preco": 50,
          "descricao": "Wooden",
          "quantidade": 255
        }
        
        
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id ed395a20-2fd4-47ac-91d2-3dc9bd8ddba2
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 04 Sep 2022 13:53:12 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "msN1f3zTS2mcBKBT"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
Resposta status code Created 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "message" 2 0 0
Resposta contém atributo presença "_id" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Envia id para variável de ambiente. 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos/msN1f3zTS2mcBKBT
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 134B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token ba464e34-bd30-4fec-ba7e-7bb915a819e8
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id af2c7f06-186d-4e52-b6c1-7c9ed574c5eb
Content-Type application/json; charset=utf-8
Content-Length 134
Date Sun, 04 Sep 2022 13:53:12 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "nome": "Small Plastic Fish",
            "preco": 50,
            "descricao": "Wooden",
            "quantidade": 255,
            "_id": "msN1f3zTS2mcBKBT"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "nome" 2 0 0
Resposta contém atributo "preco" 2 0 0
Resposta contém atributo "descricao" 2 0 0
Resposta contém atributo "quantidade" 2 0 0
Resposta contém atributo "_id" 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 1014B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTkyLCJleHAiOjE2NjIzMDAxOTJ9.JUb0cEHRhr0uONC9k8dQQzCnxTmQe2yuTHrWzgKrqzg
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token adc18567-c8a0-4be8-a3c3-b324a946d14b
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id d0b02bd7-fc1b-4414-b978-6062cee79a9f
Content-Type application/json; charset=utf-8
Content-Length 1014
Date Sun, 04 Sep 2022 13:53:12 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 5,
            "produtos": [
                {
                    "nome": "Blaze34",
                    "preco": 40,
                    "descricao": "{{randomDescribe}}",
                    "quantidade": 238,
                    "_id": "4oOLTpRw0vFGEbz2"
                },
                {
                    "nome": "Generic Wooden Table",
                    "preco": 50,
                    "descricao": "Rubber",
                    "quantidade": 255,
                    "_id": "52lftwUqjcnkGKyV"
                },
                {
                    "nome": "Logitech MX Vertical",
                    "preco": 470,
                    "descricao": "Mouse",
                    "quantidade": 382,
                    "_id": "BeeJh5lz3k6kSIzA"
                },
                {
                    "nome": "Samsung 60 polegadas",
                    "preco": 5240,
                    "descricao": "TV",
                    "quantidade": 49452,
                    "_id": "K6leHdftCeOJj8BJ"
                },
                {
                    "nome": "Small Plastic Fish",
                    "preco": 50,
                    "descricao": "Wooden",
                    "quantidade": 255,
                    "_id": "msN1f3zTS2mcBKBT"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, produto listado 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "quantidade" 2 0 0
Resposta contém atributo presença "produtos" 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 2ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTkyLCJleHAiOjE2NjIzMDAxOTJ9.JUb0cEHRhr0uONC9k8dQQzCnxTmQe2yuTHrWzgKrqzg
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 9fea70b7-2ef9-4794-9506-6d500abb880f
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 336cfb98-4410-4dff-8ea7-fdc10c408c33
Content-Type application/json; charset=utf-8
Content-Length 46
Date Sun, 04 Sep 2022 13:53:12 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 3 0 0
Resposta status code OK 3 0 0
PUT com sucesso 3 0 0
O tempo de resposta é menor 200ms 3 0 0
Resposta contém atributo presença "message" 3 0 0
Mensagem correta retornada, valida atributo de Conteúdo 3 0 0
Mensagem "Registro alterado com sucesso" é exibida 3 0 0
Access-Control-Allow-Origin header is * 3 0 0
x-dns-prefetch-control header is off 3 0 0
x-frame-options is SAMEORIGIN 3 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 3 0 0
x-download-options header is noopen 3 0 0
x-content-type-options header is nosniff 3 0 0
x-xss-protection header is 1; mode=block 3 0 0
x-moesif-transaction-id header is present 3 0 0
Content-Type header is application/json; charset=utf-8 3 0 0
Content-Length header is present 3 0 0
Date header is present 3 0 0
Connection header is keep-alive 3 0 0
keep-alive header is timeout=5 3 0 0
Já exclui o produto, caso tenha cadastrado! 3 0 0
Total 63 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/msN1f3zTS2mcBKBT
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTkyLCJleHAiOjE2NjIzMDAxOTJ9.JUb0cEHRhr0uONC9k8dQQzCnxTmQe2yuTHrWzgKrqzg
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token bdd599dc-b24e-4180-b3ee-51410675157e
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 762714c9-dda8-44af-8740-1430685072b7
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:12 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, foi excluído 2 0 0
Resposta status code OK 2 0 0
DELETE com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo Presença "message" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Registro excluído com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 201 - Created
Mean time per request: 6ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTkyLCJleHAiOjE2NjIzMDAxOTJ9.JUb0cEHRhr0uONC9k8dQQzCnxTmQe2yuTHrWzgKrqzg
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 2110e395-b9a6-49e3-88cf-fdf8a3b7650f
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 115
Request Body
{
          "produtos": [
            {
              "idProduto": "K6leHdftCeOJj8BJ",
              "quantidade": 3
            }
          ]}
                    
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id efff3ea2-f65c-4e2c-b85e-5fc8132b4234
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 04 Sep 2022 13:53:12 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "XtO5DI4PPqqk2T7r"
        }
Test Information
NamePassedFailedSkipped
Status: 201, OK, carrinhos cadastrado 2 0 0
Resposta status code Created 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "_id" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 2 0 0
Envia id para variável de ambiente. 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 975B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTkzLCJleHAiOjE2NjIzMDAxOTN9.-QrX6lviL8Ag0qSy3x_zBaHVIS84Om2iyamJKSZpuTs
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token bc08f943-814e-49fa-a525-1dbea3728aaa
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 0e2937d5-ff00-4664-bf98-464dbc3ac8a9
Content-Type application/json; charset=utf-8
Content-Length 975
Date Sun, 04 Sep 2022 13:53:13 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 2,
            "carrinhos": [
                {
                    "produtos": [
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 3,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 15720,
                    "quantidadeTotal": 3,
                    "idUsuario": "cbnW9qchtXdR6PTg",
                    "_id": "XtO5DI4PPqqk2T7r"
                },
                {
                    "produtos": [
                        {
                            "idProduto": "BeeJh5lz3k6kSIzA",
                            "quantidade": 2,
                            "precoUnitario": 470
                        },
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 1,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 6180,
                    "quantidadeTotal": 3,
                    "idUsuario": "oUb7aGkMtSEPf6BZ",
                    "_id": "qbMqntef4iTOwWfg"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, carrinhos listados 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "quantidade" 2 0 0
Resposta contém atributo "carrinhos" 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos/qbMqntef4iTOwWfg
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 401B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTkzLCJleHAiOjE2NjIzMDAxOTN9.-QrX6lviL8Ag0qSy3x_zBaHVIS84Om2iyamJKSZpuTs
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 89b0d453-977a-472e-aa08-6b47618ba83e
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 826f6700-c72a-46ad-bab8-a0317b28436c
Content-Type application/json; charset=utf-8
Content-Length 401
Date Sun, 04 Sep 2022 13:53:13 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "produtos": [
                {
                    "idProduto": "BeeJh5lz3k6kSIzA",
                    "quantidade": 2,
                    "precoUnitario": 470
                },
                {
                    "idProduto": "K6leHdftCeOJj8BJ",
                    "quantidade": 1,
                    "precoUnitario": 5240
                }
            ],
            "precoTotal": 6180,
            "quantidadeTotal": 3,
            "idUsuario": "oUb7aGkMtSEPf6BZ",
            "_id": "qbMqntef4iTOwWfg"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, carrinho buscado 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "produtos" 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 36 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/concluir-compra
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTkzLCJleHAiOjE2NjIzMDAxOTN9.-QrX6lviL8Ag0qSy3x_zBaHVIS84Om2iyamJKSZpuTs
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token b61ffe57-437f-4684-bed9-f2270b6ab324
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 344035be-ed5e-4753-a031-fc85e279ce71
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:13 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, compra concluída e carrinho excluído 2 0 0
Resposta status code OK 2 0 0
DELETE com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Registro excluído com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 201 - Created
Mean time per request: 5ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTkzLCJleHAiOjE2NjIzMDAxOTN9.-QrX6lviL8Ag0qSy3x_zBaHVIS84Om2iyamJKSZpuTs
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 6137105f-6e52-4a69-ab2b-f54bff4921fa
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 115
Request Body
{
          "produtos": [
            {
              "idProduto": "K6leHdftCeOJj8BJ",
              "quantidade": 3
            }
          ]}
                    
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id e3399251-536f-4ba7-9926-fcdb6407784a
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 04 Sep 2022 13:53:13 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "Cx8TKT46bQWFH9TW"
        }
Test Information
NamePassedFailedSkipped
Status: 201, OK, carrinhos cadastrado 2 0 0
Resposta status code Created 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "_id" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Envia id para variável de ambiente. 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 975B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTkzLCJleHAiOjE2NjIzMDAxOTN9.-QrX6lviL8Ag0qSy3x_zBaHVIS84Om2iyamJKSZpuTs
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token e1ccebc2-ec20-49cf-8020-4aa20bcea791
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 3ff9c944-d552-4b14-9f0c-223af83fd935
Content-Type application/json; charset=utf-8
Content-Length 975
Date Sun, 04 Sep 2022 13:53:13 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 2,
            "carrinhos": [
                {
                    "produtos": [
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 3,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 15720,
                    "quantidadeTotal": 3,
                    "idUsuario": "cbnW9qchtXdR6PTg",
                    "_id": "Cx8TKT46bQWFH9TW"
                },
                {
                    "produtos": [
                        {
                            "idProduto": "BeeJh5lz3k6kSIzA",
                            "quantidade": 2,
                            "precoUnitario": 470
                        },
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 1,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 6180,
                    "quantidadeTotal": 3,
                    "idUsuario": "oUb7aGkMtSEPf6BZ",
                    "_id": "qbMqntef4iTOwWfg"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, carrinhos listados 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "quantidade" 2 0 0
Resposta contém atributo "carrinhos" 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos/qbMqntef4iTOwWfg
Response Information
Response Code: 200 - OK
Mean time per request: 2ms
Mean size per request: 401B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTkzLCJleHAiOjE2NjIzMDAxOTN9.-QrX6lviL8Ag0qSy3x_zBaHVIS84Om2iyamJKSZpuTs
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 9dc986ed-d0f4-41cd-ab86-9ca9d86374e5
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 1eef3dbf-e7ce-4b7e-a4d8-aa40be4edb84
Content-Type application/json; charset=utf-8
Content-Length 401
Date Sun, 04 Sep 2022 13:53:13 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "produtos": [
                {
                    "idProduto": "BeeJh5lz3k6kSIzA",
                    "quantidade": 2,
                    "precoUnitario": 470
                },
                {
                    "idProduto": "K6leHdftCeOJj8BJ",
                    "quantidade": 1,
                    "precoUnitario": 5240
                }
            ],
            "precoTotal": 6180,
            "quantidadeTotal": 3,
            "idUsuario": "oUb7aGkMtSEPf6BZ",
            "_id": "qbMqntef4iTOwWfg"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, carrinho buscado 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "produtos" 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 36 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/cancelar-compra
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 86B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTkzLCJleHAiOjE2NjIzMDAxOTN9.-QrX6lviL8Ag0qSy3x_zBaHVIS84Om2iyamJKSZpuTs
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 807e8488-28ec-4659-9a69-846316d4b12b
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 0bae1886-cde0-4094-bb7c-6ad129edcc0c
Content-Type application/json; charset=utf-8
Content-Length 86
Date Sun, 04 Sep 2022 13:53:13 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso. Estoque dos produtos reabastecido"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, compra concluída e carrinho excluído 2 0 0
Resposta status code OK 2 0 0
DELETE com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Registro excluído com sucesso. Estoque dos produtos reabastecido" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 269B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 5aa43a48-e5c9-41da-a174-eea5b95c30e5
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 59
Request Body
{
          "email": "master@qa.com.br",
          "password": "senha"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 301babc5-c18e-42ee-8cb6-920a793d178e
Content-Type application/json; charset=utf-8
Content-Length 269
Date Sun, 04 Sep 2022 13:53:13 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1hc3RlckBxYS5jb20uYnIiLCJwYXNzd29yZCI6InNlbmhhIiwiaWF0IjoxNjYyMjk5NTkzLCJleHAiOjE2NjIzMDAxOTN9.uqzjzYWNJrGQajCFbyejviwaQrL0W9grxQnNeRP6FxM"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "authorization" 2 0 0
Mensagem correta retornada 2 0 0
Mensagem "Login realizado com sucesso" é exibida 2 0 0
Envia authorization para variável de ambiente. 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 201 - Created
Mean time per request: 6ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1hc3RlckBxYS5jb20uYnIiLCJwYXNzd29yZCI6InNlbmhhIiwiaWF0IjoxNjYyMjk5NTkzLCJleHAiOjE2NjIzMDAxOTN9.uqzjzYWNJrGQajCFbyejviwaQrL0W9grxQnNeRP6FxM
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token cfb43cbd-7f03-4027-bd67-e182de49f580
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 102
Request Body
  {
          "produtos": [
            {
              "idProduto":"4oOLTpRw0vFGEbz2",
              "quantidade": 6
            }
          ]}
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id a2f72f99-7396-44a7-adfd-bace7aa93cbd
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 04 Sep 2022 13:53:13 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "tJ41CbVARwkGHBw7"
        }
Test Information
NamePassedFailedSkipped
Status: 201, OK, carrinhos cadastrado 2 0 0
Resposta status code Created 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "_id" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Envia id para variável de ambiente. 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/concluir-compra
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1hc3RlckBxYS5jb20uYnIiLCJwYXNzd29yZCI6InNlbmhhIiwiaWF0IjoxNjYyMjk5NTkzLCJleHAiOjE2NjIzMDAxOTN9.uqzjzYWNJrGQajCFbyejviwaQrL0W9grxQnNeRP6FxM
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token c2365ced-498f-417e-b4ba-7882a7caf924
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 67e05436-21a2-4878-ba9c-49a7effdb541
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:13 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, compra concluída e carrinho excluído 2 0 0
Resposta status code OK 2 0 0
DELETE com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Registro excluído com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 8ms
Mean size per request: 271B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token bf85f8ef-2990-4efc-a415-6ad89c0d235f
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 60
Request Body
{
          "email": "ciclano@qa.com.br",
          "password": "fluxo"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 482ced3e-a4a6-479d-a479-6a0a6dad4cb3
Content-Type application/json; charset=utf-8
Content-Length 271
Date Sun, 04 Sep 2022 13:53:14 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImNpY2xhbm9AcWEuY29tLmJyIiwicGFzc3dvcmQiOiJmbHV4byIsImlhdCI6MTY2MjI5OTU5NCwiZXhwIjoxNjYyMzAwMTk0fQ.6IXh5P_D1gTZ6YDA6ZFe7-otnLRTk_EORpII1QGZeFU"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "authorization" 2 0 0
Envia authorization para variável de ambiente. 2 0 0
Mensagem correta retornada 2 0 0
Mensagem "Login realizado com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 201 - Created
Mean time per request: 4ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImNpY2xhbm9AcWEuY29tLmJyIiwicGFzc3dvcmQiOiJmbHV4byIsImlhdCI6MTY2MjI5OTU5NCwiZXhwIjoxNjYyMzAwMTk0fQ.6IXh5P_D1gTZ6YDA6ZFe7-otnLRTk_EORpII1QGZeFU
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 26a90b71-ebcf-473a-8710-e98e2f6a075c
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 105
Request Body
  {
          "produtos": [
            {
              "idProduto": "52lftwUqjcnkGKyV",
              "quantidade": 6
            }
          ]}
        
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 392375a8-b95b-49fe-929f-90ecb0e618ee
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 04 Sep 2022 13:53:14 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "6yccwGIXGU8Tuvt2"
        }
Test Information
NamePassedFailedSkipped
Status: 201, OK, carrinhos cadastrado 2 0 0
Resposta status code Created 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "_id" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 2 0 0
Envia id para variável de ambiente. 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/cancelar-compra
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 86B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImNpY2xhbm9AcWEuY29tLmJyIiwicGFzc3dvcmQiOiJmbHV4byIsImlhdCI6MTY2MjI5OTU5NCwiZXhwIjoxNjYyMzAwMTk0fQ.6IXh5P_D1gTZ6YDA6ZFe7-otnLRTk_EORpII1QGZeFU
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token f5a9a82c-381f-443c-a7de-fd6cc65a7cd1
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id f6fed3c0-c1b4-49c8-92b1-b339844d2f55
Content-Type application/json; charset=utf-8
Content-Length 86
Date Sun, 04 Sep 2022 13:53:14 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso. Estoque dos produtos reabastecido"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, compra concluída e carrinho excluído 2 0 0
Resposta status code OK 2 0 0
DELETE com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Registro excluído com sucesso. Estoque dos produtos reabastecido" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 400 - Bad Request
Mean time per request: 4ms
Mean size per request: 50B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 2c26f941-8258-4a1a-af59-e712fced8b26
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 43
Request Body
{
          "email": "",
          "password": "teste"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 9c808754-5281-40e9-a968-a0c16b55c390
Content-Type application/json; charset=utf-8
Content-Length 50
Date Sun, 04 Sep 2022 13:53:14 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "email": "email não pode ficar em branco"
        }
Test Information
NamePassedFailedSkipped
Status: 400, bad request 1 0 0
Resposta status code Bad Request 1 0 0
POST sem sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo "email" 1 0 0
Mensagem retornada 1 0 0
Mensagem "email não pode ficar em branco" é exibida 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 400 - Bad Request
Mean time per request: 2ms
Mean size per request: 50B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 88a77776-c04c-46a8-930a-41b7724dc348
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 58
Request Body
{
          "email": "masterqa.com.br",
          "password": "senha"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id acf652b8-79f1-4bfe-908f-217435cb0825
Content-Type application/json; charset=utf-8
Content-Length 50
Date Sun, 04 Sep 2022 13:53:14 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "email": "email deve ser um email válido"
        }
Test Information
NamePassedFailedSkipped
Status: 400, bad request 1 0 0
Resposta status code Bad Request 1 0 0
POST sem sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo "email" 1 0 0
Mensagem incorreta retornada 1 0 0
Mensagem "email deve ser um email válido" é exibida 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 401 - Unauthorized
Mean time per request: 3ms
Mean size per request: 48B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 2e30d208-8892-4138-b240-61f3c62f4a22
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 58
Request Body
{
          "email": "tamara@qa.com.br",
          "password": "test"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id e91f98e9-67a5-4a9c-9a78-12c610d64161
Content-Type application/json; charset=utf-8
Content-Length 48
Date Sun, 04 Sep 2022 13:53:14 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Email e/ou senha inválidos"
        }
Test Information
NamePassedFailedSkipped
Status: 401,Unauthorized 1 0 0
Resposta status code Unauthorized 1 0 0
POST sem sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo "email" 1 0 0
Mensagem incorreta retornada 1 0 0
Mensagem "Email e/ou senha inválidos" é exibida 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/cbnW9qchtXdR6P
Response Information
Response Code: 400 - Bad Request
Mean time per request: 4ms
Mean size per request: 45B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token c2dca3e8-b77f-4df9-b26d-0f1f3396b667
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id f04ef31b-98c8-49f4-91a4-f8587375d9e9
Content-Type application/json; charset=utf-8
Content-Length 45
Date Sun, 04 Sep 2022 13:53:14 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Usuário não encontrado"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Resposta status code Bad Request 2 0 0
GET sem sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença 'message' 2 0 0
Mensagem "Usuário não encontrado" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/usuarios
Response Information
Response Code: 400 - Bad Request
Mean time per request: 2ms
Mean size per request: 53B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 08e2f150-9cba-4c28-8265-73c5b75a569c
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 108
Request Body
{
          "nome": "tamara",
          "email": "tamara@qa.com.br",
          "password": "teste",
          "administrador": "true"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id d0181d8c-12dd-423e-b862-95767c27cee2
Content-Type application/json; charset=utf-8
Content-Length 53
Date Sun, 04 Sep 2022 13:53:14 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Este email já está sendo usado"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Resposta status code Bad Request 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "message" 2 0 0
Mensagem incorreta retornada, valida atributo de Conteúdo 2 0 0
Mensagem "Este email já está sendo usado" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:3000/usuarios/%7B%7BidUalt%7D%7D
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 67B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 57280ada-95f6-4a4d-ab54-1564fd8fead0
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 122
Request Body
{
          "nome": "Trisha.Runolfsson22",
          "email": "Don_Kozey@hotmail.com",
          "password": "teste",
          "administrador": ""
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 99a2f111-2ca8-426c-8905-eeacba721245
Content-Type application/json; charset=utf-8
Content-Length 67
Date Sun, 04 Sep 2022 13:53:14 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "administrador": "administrador deve ser 'true' ou 'false'"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Resposta status code Bad Request 2 0 0
PUT sem sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "administrador" 2 0 0
Mensagem "administrador deve ser 'true' ou 'false'" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/oUb7aGkMtSEPf6BZ
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 117B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 11dd2412-1e9c-4184-8b95-f02d30ca05f3
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 26997f53-c789-4937-9a4f-57e3449ef535
Content-Type application/json; charset=utf-8
Content-Length 117
Date Sun, 04 Sep 2022 13:53:14 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Não é permitido excluir usuário com carrinho cadastrado",
            "idCarrinho": "qbMqntef4iTOwWfg"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 1 0 0
Resposta status code Bad Request 1 0 0
DELETE sem sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo presença "message" 1 0 0
Resposta contém atributo presença "idCarrinho" 1 0 0
Mensagem retornada, valida atributo de conteúdo 1 0 0
Mensagem "Não é permitido excluir usuário com carrinho cadastrado" é exibida 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 21 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos/d0BtZveBWmm6JzX
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 44B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 47ff05f5-e9a3-4029-9781-878f4c375590
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 35c8649e-fca7-4440-9b76-fcdc98303bf3
Content-Type application/json; charset=utf-8
Content-Length 44
Date Sun, 04 Sep 2022 13:53:14 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Produto não encontrado"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 1 0 0
Resposta status code Bad Request 1 0 0
GET sem sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo "message" 1 0 0
Mensagem "Produto não encontrado" é exibida 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 19 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:3000/produtos/BeeJh5lz3k6kSIzA
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 48B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTk0LCJleHAiOjE2NjIzMDAxOTR9.tXLf7ao8xh2YrECMazdOSqDku76jHu3geG56hYFxlpU
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 5639fa3e-6d9f-497e-ab95-b865d7944ad3
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 82
Request Body
{
          "nome": "",
          "preco": 470,
          "descricao": "Mouse",
          "quantidade": 382
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id a5f7c6eb-e837-4e99-965e-6261345cee0b
Content-Type application/json; charset=utf-8
Content-Length 48
Date Sun, 04 Sep 2022 13:53:15 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "nome": "nome não pode ficar em branco"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Resposta status code Bad Request 2 0 0
PUT sem sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "nome" 2 0 0
Mensagem retornada 2 0 0
Mensagem "nome não pode ficar em branco" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/BeeJh5lz3k6kSIzA
Response Information
Response Code: 400 - Bad Request
Mean time per request: 5ms
Mean size per request: 135B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTk0LCJleHAiOjE2NjIzMDAxOTR9.tXLf7ao8xh2YrECMazdOSqDku76jHu3geG56hYFxlpU
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token b7dbf236-c0f9-4b5e-a48c-0a73303d7ca4
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 3ced5e4d-f22b-4eaf-a576-fef76e41f766
Content-Type application/json; charset=utf-8
Content-Length 135
Date Sun, 04 Sep 2022 13:53:15 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Não é permitido excluir produto que faz parte de carrinho",
            "idCarrinhos": [
                "qbMqntef4iTOwWfg"
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Resposta status code Bad Request 2 0 0
DELETE sem sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "message" 2 0 0
Resposta contém atributo presença "idCarrinhos" 2 0 0
Mensagem retornada, valida atributo de conteúdo 2 0 0
Mensagem "Não é permitido excluir produto que faz parte de carrinho" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 42 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/oniAlU5bfZjC46zw
Response Information
Response Code: 200 - OK
Mean time per request: 6ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 1f1a04f6-dad6-40db-b0a5-409c60f4ca3e
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 9c2bdd42-ffa1-4d19-9a68-914da38eb2dc
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:15 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 3 0 0
Resposta status code Created 3 0 0
POST com sucesso 3 0 0
O tempo de resposta é menor 200ms 3 0 0
Resposta contém atributo presença "message" 3 0 0
Resposta contém atributo presença "_id" 3 0 0
Mensagem correta retornada, valida atributo de Conteúdo 3 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 3 0 0
Access-Control-Allow-Origin header is * 3 0 0
x-dns-prefetch-control header is off 3 0 0
x-frame-options is SAMEORIGIN 3 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 3 0 0
x-download-options header is noopen 3 0 0
x-content-type-options header is nosniff 3 0 0
x-xss-protection header is 1; mode=block 3 0 0
x-moesif-transaction-id header is present 3 0 0
Content-Type header is application/json; charset=utf-8 3 0 0
Content-Length header is present 3 0 0
Date header is present 3 0 0
Connection header is keep-alive 3 0 0
keep-alive header is timeout=5 3 0 0
Já exclui o usuario 3 0 0
Total 66 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/jne2NrhmxObVNL9B
Response Information
Response Code: 200 - OK
Mean time per request: 6ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 10221d99-6137-41ed-b378-1b648822fc7b
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 499b7f29-4560-4cd7-9aec-a266f3ecda9a
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:15 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 3 0 0
Resposta status code Created 3 0 0
POST com sucesso 3 0 0
O tempo de resposta é menor 200ms 3 0 0
Resposta contém atributo presença "message" 3 0 0
Resposta contém atributo presença "_id" 3 0 0
Mensagem correta retornada, valida atributo de Conteúdo 3 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 3 0 0
Access-Control-Allow-Origin header is * 3 0 0
x-dns-prefetch-control header is off 3 0 0
x-frame-options is SAMEORIGIN 3 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 3 0 0
x-download-options header is noopen 3 0 0
x-content-type-options header is nosniff 3 0 0
x-xss-protection header is 1; mode=block 3 0 0
x-moesif-transaction-id header is present 3 0 0
Content-Type header is application/json; charset=utf-8 3 0 0
Content-Length header is present 3 0 0
Date header is present 3 0 0
Connection header is keep-alive 3 0 0
keep-alive header is timeout=5 3 0 0
Já exclui o usuario 3 0 0
Total 66 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos/
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 822B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token dec0f27e-c854-4d31-a477-5afe2908f103
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id e4f491f8-6709-4914-9aa0-3a432d90b385
Content-Type application/json; charset=utf-8
Content-Length 822
Date Sun, 04 Sep 2022 13:53:15 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 4,
            "produtos": [
                {
                    "nome": "Blaze34",
                    "preco": 40,
                    "descricao": "{{randomDescribe}}",
                    "quantidade": 232,
                    "_id": "4oOLTpRw0vFGEbz2"
                },
                {
                    "nome": "Generic Wooden Table",
                    "preco": 50,
                    "descricao": "Rubber",
                    "quantidade": 255,
                    "_id": "52lftwUqjcnkGKyV"
                },
                {
                    "nome": "Logitech MX Vertical",
                    "preco": 470,
                    "descricao": "Mouse",
                    "quantidade": 382,
                    "_id": "BeeJh5lz3k6kSIzA"
                },
                {
                    "nome": "Samsung 60 polegadas",
                    "preco": 5240,
                    "descricao": "TV",
                    "quantidade": 49449,
                    "_id": "K6leHdftCeOJj8BJ"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Resposta status code OK 1 0 0
GET com sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo "quantidade" 1 0 0
Resposta contém atributo "produtos" 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 19 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 651B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 97c991e1-be6c-4cfb-a5b8-be48ba4c8e64
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id e5c1d498-26d4-4bcd-8dbd-d46d6da35aa0
Content-Type application/json; charset=utf-8
Content-Length 651
Date Sun, 04 Sep 2022 13:53:15 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 3,
            "usuarios": [
                {
                    "nome": "S.Master",
                    "email": "master@qa.com.br",
                    "password": "senha",
                    "administrador": "true",
                    "_id": "E3WQPxwjuCx3HBHA"
                },
                {
                    "nome": "Tamara",
                    "email": "tamara@qa.com.br",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "cbnW9qchtXdR6PTg"
                },
                {
                    "nome": "ciclano",
                    "email": "ciclano@qa.com.br",
                    "password": "fluxo",
                    "administrador": "true",
                    "_id": "oBCioHZC7a0O1CK9"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença 'quantidade' 2 0 0
Resposta contém atributo presença 'usuarios' 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 595B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 5b10c95b-8098-4c70-b455-a6d32e5b2c34
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id bc195010-908e-43ab-bab1-6b3d200823fc
Content-Type application/json; charset=utf-8
Content-Length 595
Date Sun, 04 Sep 2022 13:53:15 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 1,
            "carrinhos": [
                {
                    "produtos": [
                        {
                            "idProduto": "BeeJh5lz3k6kSIzA",
                            "quantidade": 2,
                            "precoUnitario": 470
                        },
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 1,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 6180,
                    "quantidadeTotal": 3,
                    "idUsuario": "oUb7aGkMtSEPf6BZ",
                    "_id": "qbMqntef4iTOwWfg"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, carrinho buscado 1 0 0
Resposta status code OK 1 0 0
GET com sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo presença "quantidade" 1 0 0
Resposta contém atributo presença "carrinhos" 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 19 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/ch7rVapN9O90rsz3
Response Information
Response Code: 200 - OK
Mean time per request: 7ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTk1LCJleHAiOjE2NjIzMDAxOTV9.OcEsE59gwEr6ei8PcWVG1Y8KlJJkAz16Mpo61OMxy48
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 4178125f-dc8b-430e-95f3-eba4cc20e155
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 1f64a1e0-0863-4aaf-9b74-b8f307cf247f
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:15 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 3 0 0
Resposta status code Created 3 0 0
POST com sucesso 3 0 0
O tempo de resposta é menor 200ms 3 0 0
Resposta contém atributo presença "message" 3 0 0
Resposta contém atributo presença "_id" 3 0 0
Mensagem correta retornada, valida atributo de Conteúdo 3 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 3 0 0
Access-Control-Allow-Origin header is * 3 0 0
x-dns-prefetch-control header is off 3 0 0
x-frame-options is SAMEORIGIN 3 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 3 0 0
x-download-options header is noopen 3 0 0
x-content-type-options header is nosniff 3 0 0
x-xss-protection header is 1; mode=block 3 0 0
x-moesif-transaction-id header is present 3 0 0
Content-Type header is application/json; charset=utf-8 3 0 0
Content-Length header is present 3 0 0
Date header is present 3 0 0
Connection header is keep-alive 3 0 0
keep-alive header is timeout=5 3 0 0
Excluir produto 3 0 0
Total 66 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:3000/produtos/BeeJh5lz3k6kSIzA
Response Information
Response Code: 401 - Unauthorized
Mean time per request: 5ms
Mean size per request: 103B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token e7536e85-5fbe-42d8-b3ee-86c7e7e940a2
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 82
Request Body
{
          "nome": "",
          "preco": 470,
          "descricao": "Mouse",
          "quantidade": 382
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 0ef1057b-8b63-4b56-8f08-1093bc5fc983
Content-Type application/json; charset=utf-8
Content-Length 103
Date Sun, 04 Sep 2022 13:53:15 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Token de acesso ausente, inválido, expirado ou usuário do token não existe mais"
        }
Test Information
NamePassedFailedSkipped
Status code is 401 2 0 0
Resposta status code Unauthorized 2 0 0
PUT sem sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Mensagem retornada 2 0 0
Mensagem "Token de acesso ausente, inválido, expirado ou usuário do token não existe mais" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 6ms
Mean size per request: 269B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTk1LCJleHAiOjE2NjIzMDAxOTV9.OcEsE59gwEr6ei8PcWVG1Y8KlJJkAz16Mpo61OMxy48
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 22feebc6-1a83-4b14-9a46-7b031fe80e47
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 61
Request Body
{
          "email": "tamara@qa.com.br",
          "password": "teste"
        }
        
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 4d0eb7b7-c95c-4747-8655-5c8830956133
Content-Type application/json; charset=utf-8
Content-Length 269
Date Sun, 04 Sep 2022 13:53:15 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTk1LCJleHAiOjE2NjIzMDAxOTV9.OcEsE59gwEr6ei8PcWVG1Y8KlJJkAz16Mpo61OMxy48"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "authorization" 2 0 0
Envia authorization para variável de ambiente. 2 0 0
Mensagem correta retornada 2 0 0
Mensagem "Login realizado com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/0QYsxQ2qgLqrzfvx
Response Information
Response Code: 400 - Bad Request
Mean time per request: 5ms
Mean size per request: 45B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 0d9e60b6-7f45-4d5b-9f49-2330d55d5b9c
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 61ef8cd3-9112-43a3-abe2-7f5c5301e500
Content-Type application/json; charset=utf-8
Content-Length 45
Date Sun, 04 Sep 2022 13:53:16 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Usuário não encontrado"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 4 0 0
Resposta status code Created 4 0 0
POST com sucesso 4 0 0
O tempo de resposta é menor 200ms 4 0 0
Resposta contém atributo presença message 4 0 0
Resposta contém atributo presença _id 4 0 0
Mensagem correta retornada 4 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 4 0 0
Access-Control-Allow-Origin header is * 4 0 0
x-dns-prefetch-control header is off 4 0 0
x-frame-options is SAMEORIGIN 4 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 4 0 0
x-download-options header is noopen 4 0 0
x-content-type-options header is nosniff 4 0 0
x-xss-protection header is 1; mode=block 4 0 0
x-moesif-transaction-id header is present 4 0 0
Content-Type header is application/json; charset=utf-8 4 0 0
Content-Length header is present 4 0 0
Date header is present 4 0 0
Connection header is keep-alive 4 0 0
keep-alive header is timeout=5 4 0 0
Já exclui o usuario 4 0 0
busca o usuario que acabou de ser deletado 4 0 0
Total 92 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/LRcEL5oLcvg2DP5w
Response Information
Response Code: 400 - Bad Request
Mean time per request: 5ms
Mean size per request: 45B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token b04802bc-b256-429f-b8ff-6fa8326fbfa3
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id e112f988-4692-42c3-870c-283627d55e24
Content-Type application/json; charset=utf-8
Content-Length 45
Date Sun, 04 Sep 2022 13:53:16 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Usuário não encontrado"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 4 0 0
Resposta status code Created 4 0 0
PUT com sucesso 4 0 0
O tempo de resposta é menor 200ms 4 0 0
Resposta contém atributo "message" 4 0 0
Resposta contém atributo "_id" 4 0 0
Mensagem correta retornada 4 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 4 0 0
Access-Control-Allow-Origin header is * 4 0 0
x-dns-prefetch-control header is off 4 0 0
x-frame-options is SAMEORIGIN 4 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 4 0 0
x-download-options header is noopen 4 0 0
x-content-type-options header is nosniff 4 0 0
x-xss-protection header is 1; mode=block 4 0 0
x-moesif-transaction-id header is present 4 0 0
Content-Type header is application/json; charset=utf-8 4 0 0
Content-Length header is present 4 0 0
Date header is present 4 0 0
Connection header is keep-alive 4 0 0
keep-alive header is timeout=5 4 0 0
Já exclui o usuario 4 0 0
busca o usuario que acabou de ser deletado 4 0 0
Total 92 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/usuarios
Response Information
Response Code: 201 - Created
Mean time per request: 4ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 4acf7225-4b8c-469f-aace-9cd6c968df97
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 125
Request Body
{
          "nome": "Calista.Lueilwitz",
          "email": "Keith_Rempel@yahoo.com",
          "password": "teste",
          "administrador": "true"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 1e586611-dd69-42aa-b24b-0bf60386e35c
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 04 Sep 2022 13:53:16 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "R53NgDI9M3VXSCd3"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
POST com sucesso 2 0 0
Resposta status code Created 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "message" 2 0 0
Resposta contém atributo presença "_id" 2 0 0
Mensagem correta retornada, valida atributo de Conteúdo 2 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Envia id para variável de ambiente. 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/R53NgDI9M3VXSCd3
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 159B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 601881d2-2f9e-477f-a85a-77fa1640e850
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id e13b7453-d868-4b3a-8526-e723b799e211
Content-Type application/json; charset=utf-8
Content-Length 159
Date Sun, 04 Sep 2022 13:53:16 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "nome": "Calista.Lueilwitz",
            "email": "Keith_Rempel@yahoo.com",
            "password": "teste",
            "administrador": "true",
            "_id": "R53NgDI9M3VXSCd3"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença 'nome' 2 0 0
Resposta contém atributo presença 'email' 2 0 0
Resposta contém atributo presença 'password' 2 0 0
Resposta contém atributo presença 'administrador' 2 0 0
Resposta contém atributo presença '_id' 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 868B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token f355e5d8-8767-48c1-9468-ab4f027c89ce
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 0e79e74b-07a9-43af-9734-6f4c44b023e7
Content-Type application/json; charset=utf-8
Content-Length 868
Date Sun, 04 Sep 2022 13:53:16 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 4,
            "usuarios": [
                {
                    "nome": "S.Master",
                    "email": "master@qa.com.br",
                    "password": "senha",
                    "administrador": "true",
                    "_id": "E3WQPxwjuCx3HBHA"
                },
                {
                    "nome": "Calista.Lueilwitz",
                    "email": "Keith_Rempel@yahoo.com",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "R53NgDI9M3VXSCd3"
                },
                {
                    "nome": "Tamara",
                    "email": "tamara@qa.com.br",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "cbnW9qchtXdR6PTg"
                },
                {
                    "nome": "ciclano",
                    "email": "ciclano@qa.com.br",
                    "password": "fluxo",
                    "administrador": "true",
                    "_id": "oBCioHZC7a0O1CK9"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, usuário listado 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença 'quantidade' 2 0 0
Resposta contém atributo presença 'usuarios' 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 0d02f0c7-eb85-43e2-8158-995021d94cdf
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 31e3bdc9-2bf2-45a6-a75c-760861929313
Content-Type application/json; charset=utf-8
Content-Length 46
Date Sun, 04 Sep 2022 13:53:16 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 3 0 0
Resposta status code OK 3 0 0
PUT com sucesso 3 0 0
O tempo de resposta é menor 200ms 3 0 0
Resposta contém atributo presença "message" 3 0 0
Mensagem correta retornada 3 0 0
Mensagem "Registro alterado com sucesso" é exibida 3 0 0
Access-Control-Allow-Origin header is * 3 0 0
x-dns-prefetch-control header is off 3 0 0
x-frame-options is SAMEORIGIN 3 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 3 0 0
x-download-options header is noopen 3 0 0
x-content-type-options header is nosniff 3 0 0
x-xss-protection header is 1; mode=block 3 0 0
x-moesif-transaction-id header is present 3 0 0
Content-Type header is application/json; charset=utf-8 3 0 0
Content-Length header is present 3 0 0
Date header is present 3 0 0
Connection header is keep-alive 3 0 0
keep-alive header is timeout=5 3 0 0
Já exclui o usuario, caso seja cadastrado! 3 0 0
Total 63 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/R53NgDI9M3VXSCd3
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token e5b49841-9b9b-45bd-a006-7b35fe8578f6
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id b08d6b7d-8809-44d0-9d40-ae2805c1392f
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:16 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
DELETE com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "message" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Registro excluído com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/iM7KH8zDwqTT4tIA
Response Information
Response Code: 200 - OK
Mean time per request: 7ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTk2LCJleHAiOjE2NjIzMDAxOTZ9.kXiWX7axP9M41oxI5R6FvxubVrspXyWfwDGTyXyolHA
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 686dffc2-dc91-4fe0-b1ef-1dc3a7d2ffd1
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 81c78c4a-8fbc-4686-90f3-dd988f1d02b6
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:16 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 4 0 0
Resposta status code Created 4 0 0
POST com sucesso 4 0 0
O tempo de resposta é menor 200ms 4 0 0
Resposta contém atributo presença "message" 4 0 0
Resposta contém atributo presença "_id" 4 0 0
Mensagem correta retornada, valida atributo de Conteúdo 4 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 4 0 0
Access-Control-Allow-Origin header is * 4 0 0
x-dns-prefetch-control header is off 4 0 0
x-frame-options is SAMEORIGIN 4 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 4 0 0
x-download-options header is noopen 4 0 0
x-content-type-options header is nosniff 4 0 0
x-xss-protection header is 1; mode=block 4 0 0
x-moesif-transaction-id header is present 4 0 0
Content-Type header is application/json; charset=utf-8 4 0 0
Content-Length header is present 4 0 0
Date header is present 4 0 0
Connection header is keep-alive 4 0 0
keep-alive header is timeout=5 4 0 0
Excluir produto 4 0 0
busca o produto que acabou de ser deletado 4 0 0
Total 92 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/QVniaBUmblQC1X8M
Response Information
Response Code: 200 - OK
Mean time per request: 7ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTk2LCJleHAiOjE2NjIzMDAxOTZ9.kXiWX7axP9M41oxI5R6FvxubVrspXyWfwDGTyXyolHA
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token a28540e8-7790-4d64-9ea7-8cee923fcef4
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 36792314-3976-4536-9e6e-630a400b4997
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:16 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 4 0 0
Resposta status code Created 4 0 0
Resposta contém atributo "message" 4 0 0
Resposta contém atributo "_id" 4 0 0
Mensagem correta retornada 4 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 4 0 0
Access-Control-Allow-Origin header is * 4 0 0
x-dns-prefetch-control header is off 4 0 0
x-frame-options is SAMEORIGIN 4 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 4 0 0
x-download-options header is noopen 4 0 0
x-content-type-options header is nosniff 4 0 0
x-xss-protection header is 1; mode=block 4 0 0
x-moesif-transaction-id header is present 4 0 0
Content-Type header is application/json; charset=utf-8 4 0 0
Content-Length header is present 4 0 0
Date header is present 4 0 0
Connection header is keep-alive 4 0 0
keep-alive header is timeout=5 4 0 0
Excluir produto 4 0 0
busca o produto que acabou de ser deletado 4 0 0
Total 84 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/produtos
Response Information
Response Code: 201 - Created
Mean time per request: 5ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTk2LCJleHAiOjE2NjIzMDAxOTZ9.kXiWX7axP9M41oxI5R6FvxubVrspXyWfwDGTyXyolHA
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 1938baf7-234b-4f64-a95e-d177f213c9ac
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 109
Request Body
{
          "nome": "Incredible Rubber Salad",
          "preco": 50,
          "descricao": "Frozen",
          "quantidade": 255
        }
        
        
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 2085f6d0-627b-42fe-a470-3140f29cf30a
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 04 Sep 2022 13:53:16 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "j7zd2UjvE4KV0cNs"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
Resposta status code Created 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "message" 2 0 0
Resposta contém atributo presença "_id" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Envia id para variável de ambiente. 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos/j7zd2UjvE4KV0cNs
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 139B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 4dddc4f1-78fe-404f-83a0-553c68759129
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 56a9dd89-9546-4af6-bf80-c15a725768f1
Content-Type application/json; charset=utf-8
Content-Length 139
Date Sun, 04 Sep 2022 13:53:17 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "nome": "Incredible Rubber Salad",
            "preco": 50,
            "descricao": "Frozen",
            "quantidade": 255,
            "_id": "j7zd2UjvE4KV0cNs"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "nome" 2 0 0
Resposta contém atributo "preco" 2 0 0
Resposta contém atributo "descricao" 2 0 0
Resposta contém atributo "quantidade" 2 0 0
Resposta contém atributo "_id" 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos
Response Information
Response Code: 200 - OK
Mean time per request: 2ms
Mean size per request: 1019B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTk3LCJleHAiOjE2NjIzMDAxOTd9.YljV6S7M-CFr_QT20Q8CWln3qQ_DcdRSYHp5iAO075w
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 010aba92-5cdf-4a3a-849f-ecf09bf50ac6
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id d0a4c6fc-d620-404f-bf72-1fc17303c7b9
Content-Type application/json; charset=utf-8
Content-Length 1019
Date Sun, 04 Sep 2022 13:53:17 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 5,
            "produtos": [
                {
                    "nome": "Blaze34",
                    "preco": 40,
                    "descricao": "{{randomDescribe}}",
                    "quantidade": 232,
                    "_id": "4oOLTpRw0vFGEbz2"
                },
                {
                    "nome": "Generic Wooden Table",
                    "preco": 50,
                    "descricao": "Rubber",
                    "quantidade": 255,
                    "_id": "52lftwUqjcnkGKyV"
                },
                {
                    "nome": "Logitech MX Vertical",
                    "preco": 470,
                    "descricao": "Mouse",
                    "quantidade": 382,
                    "_id": "BeeJh5lz3k6kSIzA"
                },
                {
                    "nome": "Samsung 60 polegadas",
                    "preco": 5240,
                    "descricao": "TV",
                    "quantidade": 49449,
                    "_id": "K6leHdftCeOJj8BJ"
                },
                {
                    "nome": "Incredible Rubber Salad",
                    "preco": 50,
                    "descricao": "Frozen",
                    "quantidade": 255,
                    "_id": "j7zd2UjvE4KV0cNs"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, produto listado 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "quantidade" 2 0 0
Resposta contém atributo presença "produtos" 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 8ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTk3LCJleHAiOjE2NjIzMDAxOTd9.YljV6S7M-CFr_QT20Q8CWln3qQ_DcdRSYHp5iAO075w
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token abbf4600-739e-40ff-9bba-dc62fd8900e9
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 2fccc319-3cfa-46c5-bd4d-7d3149e46c40
Content-Type application/json; charset=utf-8
Content-Length 46
Date Sun, 04 Sep 2022 13:53:17 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 3 0 0
Resposta status code OK 3 0 0
PUT com sucesso 3 0 0
O tempo de resposta é menor 200ms 3 0 0
Resposta contém atributo presença "message" 3 0 0
Mensagem correta retornada, valida atributo de Conteúdo 3 0 0
Mensagem "Registro alterado com sucesso" é exibida 3 0 0
Access-Control-Allow-Origin header is * 3 0 0
x-dns-prefetch-control header is off 3 0 0
x-frame-options is SAMEORIGIN 3 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 3 0 0
x-download-options header is noopen 3 0 0
x-content-type-options header is nosniff 3 0 0
x-xss-protection header is 1; mode=block 3 0 0
x-moesif-transaction-id header is present 3 0 0
Content-Type header is application/json; charset=utf-8 3 0 0
Content-Length header is present 3 0 0
Date header is present 3 0 0
Connection header is keep-alive 3 0 0
keep-alive header is timeout=5 3 0 0
Já exclui o produto, caso tenha cadastrado! 3 0 0
Total 63 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/j7zd2UjvE4KV0cNs
Response Information
Response Code: 200 - OK
Mean time per request: 11ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTk3LCJleHAiOjE2NjIzMDAxOTd9.YljV6S7M-CFr_QT20Q8CWln3qQ_DcdRSYHp5iAO075w
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token f8ddaf1e-684c-4a6c-8e55-fed9eb185b9c
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id c2598f27-7241-4175-8d9e-6b984edfd5af
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:17 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, foi excluído 2 0 0
Resposta status code OK 2 0 0
DELETE com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo Presença "message" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Registro excluído com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 201 - Created
Mean time per request: 6ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTk3LCJleHAiOjE2NjIzMDAxOTd9.YljV6S7M-CFr_QT20Q8CWln3qQ_DcdRSYHp5iAO075w
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token fa45d60f-9347-4f41-9bca-0af11156be99
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 115
Request Body
{
          "produtos": [
            {
              "idProduto": "K6leHdftCeOJj8BJ",
              "quantidade": 3
            }
          ]}
                    
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id b6db7d26-9960-4e33-a3d4-b2f63b9f8873
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 04 Sep 2022 13:53:17 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "5EiOH59TIWt2uVZ1"
        }
Test Information
NamePassedFailedSkipped
Status: 201, OK, carrinhos cadastrado 2 0 0
Resposta status code Created 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "_id" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 2 0 0
Envia id para variável de ambiente. 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 975B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTk3LCJleHAiOjE2NjIzMDAxOTd9.YljV6S7M-CFr_QT20Q8CWln3qQ_DcdRSYHp5iAO075w
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 37f3d045-f8e5-40fa-ac44-9a63a4da6920
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 3c6d7dda-8c96-4a9a-a331-b0a80ea1b2ef
Content-Type application/json; charset=utf-8
Content-Length 975
Date Sun, 04 Sep 2022 13:53:17 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 2,
            "carrinhos": [
                {
                    "produtos": [
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 3,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 15720,
                    "quantidadeTotal": 3,
                    "idUsuario": "cbnW9qchtXdR6PTg",
                    "_id": "5EiOH59TIWt2uVZ1"
                },
                {
                    "produtos": [
                        {
                            "idProduto": "BeeJh5lz3k6kSIzA",
                            "quantidade": 2,
                            "precoUnitario": 470
                        },
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 1,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 6180,
                    "quantidadeTotal": 3,
                    "idUsuario": "oUb7aGkMtSEPf6BZ",
                    "_id": "qbMqntef4iTOwWfg"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, carrinhos listados 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "quantidade" 2 0 0
Resposta contém atributo "carrinhos" 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos/qbMqntef4iTOwWfg
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 401B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTk3LCJleHAiOjE2NjIzMDAxOTd9.YljV6S7M-CFr_QT20Q8CWln3qQ_DcdRSYHp5iAO075w
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 7bc0c07d-e141-4e80-8a92-97fa7fd75e95
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 70ccf776-399e-4123-9deb-628594185f4b
Content-Type application/json; charset=utf-8
Content-Length 401
Date Sun, 04 Sep 2022 13:53:17 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "produtos": [
                {
                    "idProduto": "BeeJh5lz3k6kSIzA",
                    "quantidade": 2,
                    "precoUnitario": 470
                },
                {
                    "idProduto": "K6leHdftCeOJj8BJ",
                    "quantidade": 1,
                    "precoUnitario": 5240
                }
            ],
            "precoTotal": 6180,
            "quantidadeTotal": 3,
            "idUsuario": "oUb7aGkMtSEPf6BZ",
            "_id": "qbMqntef4iTOwWfg"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, carrinho buscado 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "produtos" 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 36 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/concluir-compra
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTk3LCJleHAiOjE2NjIzMDAxOTd9.YljV6S7M-CFr_QT20Q8CWln3qQ_DcdRSYHp5iAO075w
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 907b0d90-4786-4b70-953d-261a87d82168
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 92bfaabd-2b87-4d10-9d2d-650061a33c41
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:17 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, compra concluída e carrinho excluído 2 0 0
Resposta status code OK 2 0 0
DELETE com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Registro excluído com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 201 - Created
Mean time per request: 7ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTk3LCJleHAiOjE2NjIzMDAxOTd9.YljV6S7M-CFr_QT20Q8CWln3qQ_DcdRSYHp5iAO075w
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 7f902cf7-86f7-4cf6-981c-ca80d11f6ed5
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 115
Request Body
{
          "produtos": [
            {
              "idProduto": "K6leHdftCeOJj8BJ",
              "quantidade": 3
            }
          ]}
                    
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 012d1264-ca67-4095-9701-e65eca040b2f
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 04 Sep 2022 13:53:17 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "ncH4iLQ5VMZaB38N"
        }
Test Information
NamePassedFailedSkipped
Status: 201, OK, carrinhos cadastrado 2 0 0
Resposta status code Created 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "_id" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Envia id para variável de ambiente. 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 975B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTk3LCJleHAiOjE2NjIzMDAxOTd9.YljV6S7M-CFr_QT20Q8CWln3qQ_DcdRSYHp5iAO075w
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 4606fb96-af53-472f-b63d-b27b413879d5
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id f66e725a-31d3-4ccd-9dbc-60de923356c2
Content-Type application/json; charset=utf-8
Content-Length 975
Date Sun, 04 Sep 2022 13:53:17 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 2,
            "carrinhos": [
                {
                    "produtos": [
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 3,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 15720,
                    "quantidadeTotal": 3,
                    "idUsuario": "cbnW9qchtXdR6PTg",
                    "_id": "ncH4iLQ5VMZaB38N"
                },
                {
                    "produtos": [
                        {
                            "idProduto": "BeeJh5lz3k6kSIzA",
                            "quantidade": 2,
                            "precoUnitario": 470
                        },
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 1,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 6180,
                    "quantidadeTotal": 3,
                    "idUsuario": "oUb7aGkMtSEPf6BZ",
                    "_id": "qbMqntef4iTOwWfg"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, carrinhos listados 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "quantidade" 2 0 0
Resposta contém atributo "carrinhos" 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos/qbMqntef4iTOwWfg
Response Information
Response Code: 200 - OK
Mean time per request: 2ms
Mean size per request: 401B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTk4LCJleHAiOjE2NjIzMDAxOTh9.MrEn2_Eo9jos7LskZX0Zpubt-mZOQmCOzD99UCEcgBE
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 4ba37c91-41a4-441f-9c01-9cf0120bd628
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 8b6b35c2-d0c2-40ac-84a5-846569fe7045
Content-Type application/json; charset=utf-8
Content-Length 401
Date Sun, 04 Sep 2022 13:53:18 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "produtos": [
                {
                    "idProduto": "BeeJh5lz3k6kSIzA",
                    "quantidade": 2,
                    "precoUnitario": 470
                },
                {
                    "idProduto": "K6leHdftCeOJj8BJ",
                    "quantidade": 1,
                    "precoUnitario": 5240
                }
            ],
            "precoTotal": 6180,
            "quantidadeTotal": 3,
            "idUsuario": "oUb7aGkMtSEPf6BZ",
            "_id": "qbMqntef4iTOwWfg"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, carrinho buscado 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "produtos" 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 36 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/cancelar-compra
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 86B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTk4LCJleHAiOjE2NjIzMDAxOTh9.MrEn2_Eo9jos7LskZX0Zpubt-mZOQmCOzD99UCEcgBE
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token b893be6c-97d7-412f-86f8-53050f79b71c
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id cc331bf5-b9f4-49d6-a753-04ae47d3ca63
Content-Type application/json; charset=utf-8
Content-Length 86
Date Sun, 04 Sep 2022 13:53:18 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso. Estoque dos produtos reabastecido"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, compra concluída e carrinho excluído 2 0 0
Resposta status code OK 2 0 0
DELETE com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Registro excluído com sucesso. Estoque dos produtos reabastecido" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 269B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 845e00c7-0c6b-4c48-a057-c961c2342cdc
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 59
Request Body
{
          "email": "master@qa.com.br",
          "password": "senha"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id d82b6c39-506a-49df-b174-81311e073faa
Content-Type application/json; charset=utf-8
Content-Length 269
Date Sun, 04 Sep 2022 13:53:18 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1hc3RlckBxYS5jb20uYnIiLCJwYXNzd29yZCI6InNlbmhhIiwiaWF0IjoxNjYyMjk5NTk4LCJleHAiOjE2NjIzMDAxOTh9.0NdrGzZOddRxRNWRycCPV505mnltjGAJv0pyXnIkBDM"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "authorization" 2 0 0
Mensagem correta retornada 2 0 0
Mensagem "Login realizado com sucesso" é exibida 2 0 0
Envia authorization para variável de ambiente. 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 201 - Created
Mean time per request: 4ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1hc3RlckBxYS5jb20uYnIiLCJwYXNzd29yZCI6InNlbmhhIiwiaWF0IjoxNjYyMjk5NTk4LCJleHAiOjE2NjIzMDAxOTh9.0NdrGzZOddRxRNWRycCPV505mnltjGAJv0pyXnIkBDM
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 4b2979c2-1af9-4833-aed6-4fcb86086eb9
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 102
Request Body
  {
          "produtos": [
            {
              "idProduto":"4oOLTpRw0vFGEbz2",
              "quantidade": 6
            }
          ]}
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 21dd92a8-d6a4-4ee1-aa10-8632f3c18fe1
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 04 Sep 2022 13:53:18 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "oYWQAa1hqj26iHDb"
        }
Test Information
NamePassedFailedSkipped
Status: 201, OK, carrinhos cadastrado 2 0 0
Resposta status code Created 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "_id" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Envia id para variável de ambiente. 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/concluir-compra
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1hc3RlckBxYS5jb20uYnIiLCJwYXNzd29yZCI6InNlbmhhIiwiaWF0IjoxNjYyMjk5NTk4LCJleHAiOjE2NjIzMDAxOTh9.0NdrGzZOddRxRNWRycCPV505mnltjGAJv0pyXnIkBDM
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 1d114c49-6d8e-4c20-9e3e-8256159fb0e5
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 9f6cfdaa-eacd-4ac9-8fca-1c5ea13c80c1
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:18 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, compra concluída e carrinho excluído 2 0 0
Resposta status code OK 2 0 0
DELETE com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Registro excluído com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 271B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token b83177ae-90d8-4184-8646-a6e02b1b0ce4
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 60
Request Body
{
          "email": "ciclano@qa.com.br",
          "password": "fluxo"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id d6fd26a2-b581-4ea3-ab36-3d557dc241d5
Content-Type application/json; charset=utf-8
Content-Length 271
Date Sun, 04 Sep 2022 13:53:18 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImNpY2xhbm9AcWEuY29tLmJyIiwicGFzc3dvcmQiOiJmbHV4byIsImlhdCI6MTY2MjI5OTU5OCwiZXhwIjoxNjYyMzAwMTk4fQ.X5SrFy8U7XpgahhJW3xIZJuDG0eLzYFEqyS-Nby-DJo"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "authorization" 2 0 0
Envia authorization para variável de ambiente. 2 0 0
Mensagem correta retornada 2 0 0
Mensagem "Login realizado com sucesso" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 201 - Created
Mean time per request: 6ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImNpY2xhbm9AcWEuY29tLmJyIiwicGFzc3dvcmQiOiJmbHV4byIsImlhdCI6MTY2MjI5OTU5OCwiZXhwIjoxNjYyMzAwMTk4fQ.X5SrFy8U7XpgahhJW3xIZJuDG0eLzYFEqyS-Nby-DJo
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token daa06798-26a5-4dfb-a0ab-d6c573089eb1
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 105
Request Body
  {
          "produtos": [
            {
              "idProduto": "52lftwUqjcnkGKyV",
              "quantidade": 6
            }
          ]}
        
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 80ee51a3-bde0-4fae-b067-f7ab65017b43
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 04 Sep 2022 13:53:18 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "puq00ClElHN51J2R"
        }
Test Information
NamePassedFailedSkipped
Status: 201, OK, carrinhos cadastrado 2 0 0
Resposta status code Created 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Resposta contém atributo "_id" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 2 0 0
Envia id para variável de ambiente. 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 44 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/cancelar-compra
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 86B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImNpY2xhbm9AcWEuY29tLmJyIiwicGFzc3dvcmQiOiJmbHV4byIsImlhdCI6MTY2MjI5OTU5OCwiZXhwIjoxNjYyMzAwMTk4fQ.X5SrFy8U7XpgahhJW3xIZJuDG0eLzYFEqyS-Nby-DJo
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 79cf6637-ff29-4728-803f-b7fe615edd74
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 5bc4166f-429e-4eca-8afc-adf764096294
Content-Type application/json; charset=utf-8
Content-Length 86
Date Sun, 04 Sep 2022 13:53:18 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso. Estoque dos produtos reabastecido"
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, compra concluída e carrinho excluído 2 0 0
Resposta status code OK 2 0 0
DELETE com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Mensagem correta retornada, valida atributo de conteúdo 2 0 0
Mensagem "Registro excluído com sucesso. Estoque dos produtos reabastecido" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 400 - Bad Request
Mean time per request: 2ms
Mean size per request: 50B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 265b50e8-f0c8-4b89-bef8-c817b33f0416
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 43
Request Body
{
          "email": "",
          "password": "teste"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 9489e3f8-6d75-42f8-b57e-8627e5529a82
Content-Type application/json; charset=utf-8
Content-Length 50
Date Sun, 04 Sep 2022 13:53:18 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "email": "email não pode ficar em branco"
        }
Test Information
NamePassedFailedSkipped
Status: 400, bad request 1 0 0
Resposta status code Bad Request 1 0 0
POST sem sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo "email" 1 0 0
Mensagem retornada 1 0 0
Mensagem "email não pode ficar em branco" é exibida 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 400 - Bad Request
Mean time per request: 4ms
Mean size per request: 50B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 0099cdfb-0f10-4a3a-8b8e-25c5a1762822
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 58
Request Body
{
          "email": "masterqa.com.br",
          "password": "senha"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id c1e7c51b-395d-434e-9cad-1d48eca7ddcd
Content-Type application/json; charset=utf-8
Content-Length 50
Date Sun, 04 Sep 2022 13:53:18 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "email": "email deve ser um email válido"
        }
Test Information
NamePassedFailedSkipped
Status: 400, bad request 1 0 0
Resposta status code Bad Request 1 0 0
POST sem sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo "email" 1 0 0
Mensagem incorreta retornada 1 0 0
Mensagem "email deve ser um email válido" é exibida 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 401 - Unauthorized
Mean time per request: 4ms
Mean size per request: 48B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 566211c5-df39-4536-8dc9-a9452f459bbd
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 58
Request Body
{
          "email": "tamara@qa.com.br",
          "password": "test"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id b7f33c31-cbb5-4e5f-a746-09e52ac02759
Content-Type application/json; charset=utf-8
Content-Length 48
Date Sun, 04 Sep 2022 13:53:19 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Email e/ou senha inválidos"
        }
Test Information
NamePassedFailedSkipped
Status: 401,Unauthorized 1 0 0
Resposta status code Unauthorized 1 0 0
POST sem sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo "email" 1 0 0
Mensagem incorreta retornada 1 0 0
Mensagem "Email e/ou senha inválidos" é exibida 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/cbnW9qchtXdR6P
Response Information
Response Code: 400 - Bad Request
Mean time per request: 4ms
Mean size per request: 45B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 5a99abed-e242-49df-b56a-9cb19d54a05b
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 4c56ed57-8c9e-4463-9837-8aea837f1d6d
Content-Type application/json; charset=utf-8
Content-Length 45
Date Sun, 04 Sep 2022 13:53:19 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Usuário não encontrado"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Resposta status code Bad Request 2 0 0
GET sem sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença 'message' 2 0 0
Mensagem "Usuário não encontrado" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/usuarios
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 53B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 26de6043-ae9d-45a7-abc6-22535e6f9b29
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 108
Request Body
{
          "nome": "tamara",
          "email": "tamara@qa.com.br",
          "password": "teste",
          "administrador": "true"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 50524664-727d-472a-a5ca-1d34da804244
Content-Type application/json; charset=utf-8
Content-Length 53
Date Sun, 04 Sep 2022 13:53:19 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Este email já está sendo usado"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Resposta status code Bad Request 2 0 0
POST com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "message" 2 0 0
Mensagem incorreta retornada, valida atributo de Conteúdo 2 0 0
Mensagem "Este email já está sendo usado" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:3000/usuarios/%7B%7BidUalt%7D%7D
Response Information
Response Code: 400 - Bad Request
Mean time per request: 2ms
Mean size per request: 67B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 008c307a-e142-4494-ba78-20beea1035c4
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 120
Request Body
{
          "nome": "Orlando.Denesik",
          "email": "Whitney.Frami@gmail.com",
          "password": "teste",
          "administrador": ""
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 72b6d0da-288a-4615-8b97-271ccf4f5c01
Content-Type application/json; charset=utf-8
Content-Length 67
Date Sun, 04 Sep 2022 13:53:19 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "administrador": "administrador deve ser 'true' ou 'false'"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Resposta status code Bad Request 2 0 0
PUT sem sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "administrador" 2 0 0
Mensagem "administrador deve ser 'true' ou 'false'" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/oUb7aGkMtSEPf6BZ
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 117B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token d5ef6ef1-d147-405c-beec-ace5f7718dd8
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 5523c036-43d6-442a-a2fd-ac15b3ba312c
Content-Type application/json; charset=utf-8
Content-Length 117
Date Sun, 04 Sep 2022 13:53:19 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Não é permitido excluir usuário com carrinho cadastrado",
            "idCarrinho": "qbMqntef4iTOwWfg"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 1 0 0
Resposta status code Bad Request 1 0 0
DELETE sem sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo presença "message" 1 0 0
Resposta contém atributo presença "idCarrinho" 1 0 0
Mensagem retornada, valida atributo de conteúdo 1 0 0
Mensagem "Não é permitido excluir usuário com carrinho cadastrado" é exibida 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 21 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos/d0BtZveBWmm6JzX
Response Information
Response Code: 400 - Bad Request
Mean time per request: 2ms
Mean size per request: 44B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 2866053d-1343-43f1-941d-7b4cc8d8d904
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 131a0233-9cea-41d5-9f18-3deb875a8d73
Content-Type application/json; charset=utf-8
Content-Length 44
Date Sun, 04 Sep 2022 13:53:19 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Produto não encontrado"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 1 0 0
Resposta status code Bad Request 1 0 0
GET sem sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo "message" 1 0 0
Mensagem "Produto não encontrado" é exibida 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 19 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:3000/produtos/BeeJh5lz3k6kSIzA
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 48B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTk5LCJleHAiOjE2NjIzMDAxOTl9.-2JMWBbZU9TXofHwFaTdgkZ9ViHFWxT4q_mykWp5w6c
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token e26d1c2d-d295-413a-9f99-8f43526d1f9d
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 82
Request Body
{
          "nome": "",
          "preco": 470,
          "descricao": "Mouse",
          "quantidade": 382
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 28061814-b675-47a7-9339-053cd81791a5
Content-Type application/json; charset=utf-8
Content-Length 48
Date Sun, 04 Sep 2022 13:53:19 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "nome": "nome não pode ficar em branco"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Resposta status code Bad Request 2 0 0
PUT sem sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "nome" 2 0 0
Mensagem retornada 2 0 0
Mensagem "nome não pode ficar em branco" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/BeeJh5lz3k6kSIzA
Response Information
Response Code: 400 - Bad Request
Mean time per request: 2ms
Mean size per request: 135B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NTk5LCJleHAiOjE2NjIzMDAxOTl9.-2JMWBbZU9TXofHwFaTdgkZ9ViHFWxT4q_mykWp5w6c
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 30a81d8e-bdfd-444a-b8d6-b2387c0bdf97
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 486e71f3-1e7f-45b7-814c-4796602c7a60
Content-Type application/json; charset=utf-8
Content-Length 135
Date Sun, 04 Sep 2022 13:53:19 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Não é permitido excluir produto que faz parte de carrinho",
            "idCarrinhos": [
                "qbMqntef4iTOwWfg"
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Resposta status code Bad Request 2 0 0
DELETE sem sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença "message" 2 0 0
Resposta contém atributo presença "idCarrinhos" 2 0 0
Mensagem retornada, valida atributo de conteúdo 2 0 0
Mensagem "Não é permitido excluir produto que faz parte de carrinho" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 42 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/SawYDIWbVA30OdL1
Response Information
Response Code: 200 - OK
Mean time per request: 2ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token d522c255-9b7f-4190-808d-fa1689bf21d0
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id e8c4a474-87ec-4433-9f7b-dc6e445ed24d
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:19 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 3 0 0
Resposta status code Created 3 0 0
POST com sucesso 3 0 0
O tempo de resposta é menor 200ms 3 0 0
Resposta contém atributo presença "message" 3 0 0
Resposta contém atributo presença "_id" 3 0 0
Mensagem correta retornada, valida atributo de Conteúdo 3 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 3 0 0
Access-Control-Allow-Origin header is * 3 0 0
x-dns-prefetch-control header is off 3 0 0
x-frame-options is SAMEORIGIN 3 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 3 0 0
x-download-options header is noopen 3 0 0
x-content-type-options header is nosniff 3 0 0
x-xss-protection header is 1; mode=block 3 0 0
x-moesif-transaction-id header is present 3 0 0
Content-Type header is application/json; charset=utf-8 3 0 0
Content-Length header is present 3 0 0
Date header is present 3 0 0
Connection header is keep-alive 3 0 0
keep-alive header is timeout=5 3 0 0
Já exclui o usuario 3 0 0
Total 66 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/sRn1DHLWBgBG12xH
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token adb5974d-4f63-491c-a784-85f14f7f0834
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id e132fb7c-da16-4b54-b8b2-7d7226571961
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:19 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 3 0 0
Resposta status code Created 3 0 0
POST com sucesso 3 0 0
O tempo de resposta é menor 200ms 3 0 0
Resposta contém atributo presença "message" 3 0 0
Resposta contém atributo presença "_id" 3 0 0
Mensagem correta retornada, valida atributo de Conteúdo 3 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 3 0 0
Access-Control-Allow-Origin header is * 3 0 0
x-dns-prefetch-control header is off 3 0 0
x-frame-options is SAMEORIGIN 3 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 3 0 0
x-download-options header is noopen 3 0 0
x-content-type-options header is nosniff 3 0 0
x-xss-protection header is 1; mode=block 3 0 0
x-moesif-transaction-id header is present 3 0 0
Content-Type header is application/json; charset=utf-8 3 0 0
Content-Length header is present 3 0 0
Date header is present 3 0 0
Connection header is keep-alive 3 0 0
keep-alive header is timeout=5 3 0 0
Já exclui o usuario 3 0 0
Total 66 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos/
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 822B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 1b11f859-ac37-49e1-b67a-e15bc28b8da5
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id f51d8372-cfb4-44ac-af9f-5608c731506f
Content-Type application/json; charset=utf-8
Content-Length 822
Date Sun, 04 Sep 2022 13:53:20 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 4,
            "produtos": [
                {
                    "nome": "Blaze34",
                    "preco": 40,
                    "descricao": "{{randomDescribe}}",
                    "quantidade": 226,
                    "_id": "4oOLTpRw0vFGEbz2"
                },
                {
                    "nome": "Generic Wooden Table",
                    "preco": 50,
                    "descricao": "Rubber",
                    "quantidade": 255,
                    "_id": "52lftwUqjcnkGKyV"
                },
                {
                    "nome": "Logitech MX Vertical",
                    "preco": 470,
                    "descricao": "Mouse",
                    "quantidade": 382,
                    "_id": "BeeJh5lz3k6kSIzA"
                },
                {
                    "nome": "Samsung 60 polegadas",
                    "preco": 5240,
                    "descricao": "TV",
                    "quantidade": 49446,
                    "_id": "K6leHdftCeOJj8BJ"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Resposta status code OK 1 0 0
GET com sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo "quantidade" 1 0 0
Resposta contém atributo "produtos" 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 19 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 651B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 10c4d80a-e48e-4c70-98f4-59cce594ac36
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 91843443-4a38-4f50-a5a5-3d3d6586dbf5
Content-Type application/json; charset=utf-8
Content-Length 651
Date Sun, 04 Sep 2022 13:53:20 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 3,
            "usuarios": [
                {
                    "nome": "S.Master",
                    "email": "master@qa.com.br",
                    "password": "senha",
                    "administrador": "true",
                    "_id": "E3WQPxwjuCx3HBHA"
                },
                {
                    "nome": "Tamara",
                    "email": "tamara@qa.com.br",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "cbnW9qchtXdR6PTg"
                },
                {
                    "nome": "ciclano",
                    "email": "ciclano@qa.com.br",
                    "password": "fluxo",
                    "administrador": "true",
                    "_id": "oBCioHZC7a0O1CK9"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Resposta status code OK 2 0 0
GET com sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo presença 'quantidade' 2 0 0
Resposta contém atributo presença 'usuarios' 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 595B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 1e11f815-2ab0-4141-8055-feb04d55c82f
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 083f13f0-c705-421c-9269-f856f72c9eff
Content-Type application/json; charset=utf-8
Content-Length 595
Date Sun, 04 Sep 2022 13:53:20 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 1,
            "carrinhos": [
                {
                    "produtos": [
                        {
                            "idProduto": "BeeJh5lz3k6kSIzA",
                            "quantidade": 2,
                            "precoUnitario": 470
                        },
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 1,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 6180,
                    "quantidadeTotal": 3,
                    "idUsuario": "oUb7aGkMtSEPf6BZ",
                    "_id": "qbMqntef4iTOwWfg"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status: 200, OK, carrinho buscado 1 0 0
Resposta status code OK 1 0 0
GET com sucesso 1 0 0
O tempo de resposta é menor 200ms 1 0 0
Resposta contém atributo presença "quantidade" 1 0 0
Resposta contém atributo presença "carrinhos" 1 0 0
Access-Control-Allow-Origin header is * 1 0 0
x-dns-prefetch-control header is off 1 0 0
x-frame-options is SAMEORIGIN 1 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 1 0 0
x-download-options header is noopen 1 0 0
x-content-type-options header is nosniff 1 0 0
x-xss-protection header is 1; mode=block 1 0 0
x-moesif-transaction-id header is present 1 0 0
Content-Type header is application/json; charset=utf-8 1 0 0
Content-Length header is present 1 0 0
Date header is present 1 0 0
Connection header is keep-alive 1 0 0
keep-alive header is timeout=5 1 0 0
Total 19 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/a2lwYbxb4ioh1gLo
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRhbWFyYUBxYS5jb20uYnIiLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMjk5NjAwLCJleHAiOjE2NjIzMDAyMDB9.KVnb3q0SglLCRrcDvm2-S26P-uzUuYlteh4HF1LaRQo
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 55ba64af-ea56-42f5-8ed0-9aa7670c4abe
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id c3987cea-b0f3-417d-a99d-1479d4be1750
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 04 Sep 2022 13:53:20 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 3 0 0
Resposta status code Created 3 0 0
POST com sucesso 3 0 0
O tempo de resposta é menor 200ms 3 0 0
Resposta contém atributo presença "message" 3 0 0
Resposta contém atributo presença "_id" 3 0 0
Mensagem correta retornada, valida atributo de Conteúdo 3 0 0
Mensagem "Cadastro realizado com sucesso" é exibida 3 0 0
Access-Control-Allow-Origin header is * 3 0 0
x-dns-prefetch-control header is off 3 0 0
x-frame-options is SAMEORIGIN 3 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 3 0 0
x-download-options header is noopen 3 0 0
x-content-type-options header is nosniff 3 0 0
x-xss-protection header is 1; mode=block 3 0 0
x-moesif-transaction-id header is present 3 0 0
Content-Type header is application/json; charset=utf-8 3 0 0
Content-Length header is present 3 0 0
Date header is present 3 0 0
Connection header is keep-alive 3 0 0
keep-alive header is timeout=5 3 0 0
Excluir produto 3 0 0
Total 66 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:3000/produtos/BeeJh5lz3k6kSIzA
Response Information
Response Code: 401 - Unauthorized
Mean time per request: 3ms
Mean size per request: 103B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 7a521f71-20e2-4d98-8d8e-d3de37fbcb08
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 82
Request Body
{
          "nome": "",
          "preco": 470,
          "descricao": "Mouse",
          "quantidade": 382
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 9526d03e-0ec5-4f4c-a3dd-a2eb738acb15
Content-Type application/json; charset=utf-8
Content-Length 103
Date Sun, 04 Sep 2022 13:53:20 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Token de acesso ausente, inválido, expirado ou usuário do token não existe mais"
        }
Test Information
NamePassedFailedSkipped
Status code is 401 2 0 0
Resposta status code Unauthorized 2 0 0
PUT sem sucesso 2 0 0
O tempo de resposta é menor 200ms 2 0 0
Resposta contém atributo "message" 2 0 0
Mensagem retornada 2 0 0
Mensagem "Token de acesso ausente, inválido, expirado ou usuário do token não existe mais" é exibida 2 0 0
Access-Control-Allow-Origin header is * 2 0 0
x-dns-prefetch-control header is off 2 0 0
x-frame-options is SAMEORIGIN 2 0 0
strict-transport-security header is max-age=15552000; includeSubDomains 2 0 0
x-download-options header is noopen 2 0 0
x-content-type-options header is nosniff 2 0 0
x-xss-protection header is 1; mode=block 2 0 0
x-moesif-transaction-id header is present 2 0 0
Content-Type header is application/json; charset=utf-8 2 0 0
Content-Length header is present 2 0 0
Date header is present 2 0 0
Connection header is keep-alive 2 0 0
keep-alive header is timeout=5 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error